The -hu in zaydan ḍarabtuhu refers back to Zayd.

Al-Mafʿūl Bih: Definition, Fronting and Omission