Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:18156Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Aḥmad al-Aṣbahānī > al-Ḥasan b. al-Jahm > al-Ḥusayn b. al-Faraj > Muḥammad b. ʿUmar > Ibn Ṣafwān And ʿAṭṭāf b. Khālid > Khālid b. Zayd

[Machine] He accompanied the Messenger of Allah ﷺ as a funeral procession for the people of Mu'tah until they reached Thaniyat al-Wada'. He stood there and the people stood around him. He said, "Attack in the name of Allah and fight the enemies of Allah and your enemies in Sham. You will find among them men who are isolated in their hermitages, so do not confront them. And you will also find others who act as devils, with shaved heads. Strike them with swords. Do not kill a woman, a breastfeeding infant, an elderly person, or a young boy. Do not cut down a tree or uproot a palm tree, and do not demolish a house. This is also forbidden and weak."  

البيهقي:١٨١٥٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ أَحْمَدَ الْأَصْبَهَانِيُّ ثنا الْحَسَنُ بْنُ الْجَهْمِ ثنا الْحُسَيْنُ بْنُ الْفَرَجِ ثنا مُحَمَّدُ بْنُ عُمَرَ حَدَّثَنِي ابْنُ صَفْوَانَ وَعَطَّافُ بْنُ خَالِدٍ عَنْ خَالِدِ بْنِ زَيْدٍ قَالَ

خَرَجَ مَعَ رَسُولِ اللهِ ﷺ مُشَيِّعًا لِأَهْلِ مُؤْتَةَ حَتَّى بَلَغَ ثَنِيَّةَ الْوَدَاعِ فَوَقَفَ وَوَقَفُوا حَوْلَهُ فَقَالَ اغْزُوا بِاسْمِ اللهِ فَقَاتِلُوا عَدُوَّ اللهِ وَعَدُوَّكُمْ بِالشَّامِ وَسَتَجِدُونَ فِيهِمْ رِجَالًا فِي الصَّوَامِعِ مُعْتَزِلِينَ مِنَ النَّاسِ فَلَا تَعَرَّضُوا لَهُمْ وَسَتَجِدُونَ آخَرِينَ لِلشَّيْطَانِ فِي رُءُوسِهِمْ مَفَاحِصُ فَافْلِقُوهَا بِالسُّيُوفِ وَلَا تَقْتُلُوا امْرَأَةً وَلَا صَغِيرًا ضَرَعًا وَلَا كَبِيرًا فَانِيًا وَلَا تَقْطَعُنَّ شَجَرَةً وَلَا تَعْقِرُنَّ نَخْلًا وَلَا تَهْدِمُوا بَيْتًا وَهَذَا أَيْضًا مُنْقَطِعٌ وَضَعِيفٌ