Sahih Muslim 4566
The Book of Jihad and Expeditions
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى التَّمِيمِيُّ، أَخْبَرَنَا هُشَيْمٌ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ عُمَرَ بْنِ، كَثِيرِ بْنِ أَفْلَحَ عَنْ أَبِي مُحَمَّدٍ الأَنْصَارِيِّ، وَكَانَ، جَلِيسًا لأَبِي قَتَادَةَ قَالَ قَالَ أَبُو قَتَادَةَ . وَاقْتَصَّ الْحَدِيثَ .
Abu Muammad al-Ansari, who was the close companion of Abu Qatada. narrated the hadith (which follows)
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.