The Prophet Muhammad, sallallaahu 'alayhi wa sallam, witnessed many Islamic battles or Ghazwat. Did he kill any opponent in these Ghazwat?
All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
It is proved that the Prophet killed Ubay ibn Khalaf in the Battle of Uhud.
Allaah Knows best.
You can search for fatwa through many choices