It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said on the day of Hunayn: "Cut them down severely (with swords)."
Hadith Referenceالأحاديث المختارة / مسند أنس بن مالك رضي الله عنه / 1701