Mishkat al-Masabih
Jihad — Hadith #3757
وَعَن سهلِ بن مُعاذٍ عَن أبيهِ قَالَ: غَزَوْنَا مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَضَيَّقَ النَّاسُ الْمُنَازِلَ وَقَطَعُوا الطَّرِيقَ فَبَعَثَ نَبِيُّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مُنَادِيًا يُنادي فِي النَّاسِ: «أَنَّ مَنْ ضَيَّقَ مَنْزِلًا أَوْ قَطَعَ طَرِيقًا فَلَا جِهَادَ لَهُ» . رَوَاهُ أَبُو دَاوُد
We went on an expedition with the Prophet and the people occupied so much space that they encroached on the road,* so God’s Prophet sent a man to announce among the people, “Those who occupy much space or encroach on the road will not be credited with jihad.”
* This refers to times when they were encamping.
Abu Dawud transmitted it.