وَمَا ضَرَبَ زَيْدٌ عَمْرًا.
Translation: And Zayd did not strike ʿAmr.
مَا is a particle of negation. ضَرَبَ is a perfect verb. زَيْدٌ is the striker and therefore the fāʿil. عَمْرًا receives the striking and is the direct object. Negation does not change their syntactic roles or case assignments.