Al-ḥarbi is genitive after ʿan in the source example.

Al-Mafʿūl Lahu: Expressing the Reason for an Action