«كُلُوا وَاشْرَبُوا وَلَا تُسْرِفُوا»
Eat and drink, but do not be excessive.
The first two verbs are imperatives (أمر); the third is a prohibition (نهي). Their surface forms differ, but all are directive utterances (إنشاء طلبي). Their content is also unified: eating and drinking are permitted, while excess is forbidden.
Wāw gathers the directives into one coherent instruction. Consequently, exact sameness of grammatical form is not a universal condition for coordination: the effective communicative purpose may supply the necessary compatibility. The passage is from Sūrat al-Aʿrāf, verse 31.