Jami` at-Tirmidhi, Volume 3, Book 19, Hadith 1605 (DarusSalam)

Narrated Qais bin Abu Hazim: Similar to the narration of Abu Mu'aqiyah (no. 1604) but he did not mention in it: "from Jarir" in it, and that is more correct. There is something on this topic from Samurah. [Abu 'Eisa said:] Most of the companions of Isma'il said: "From Isma'il, from Qais bin Abu Hazim, that the Messenger of Allah sent a military expedition." and they did not mention: "from Jarir" in it. Hammad bin Salamah reported similar to the narration of Abu Mu'awiyah, from Al-Hajjaj bin Artah, from Isma'il bin Abi Khalid, from Qais from Jarir [He said:] I heard Muhammad saying: "What is correct is the narration of Qais from the Prophet in Mursal form." Samurah bin Jundab repoted that the Prophet said: "Do not live among the idolaters, and do not assemble with them, for whoever lives among them or assembles with them then he is similar to them."

حَدَّثَنَا هَنَّادٌ، حَدَّثَنَا عَبْدَةُ، عَنْ إِسْمَاعِيلَ بْنِ أَبِي خَالِدٍ، عَنْ قَيْسِ بْنِ أَبِي حَازِمٍ، مِثْلَ حَدِيثِ أَبِي مُعَاوِيَةَ وَلَمْ يَذْكُرْ فِيهِ عَنْ جَرِيرٍ، ‏.‏ وَهَذَا أَصَحُّ ‏.‏ وَفِي الْبَابِ عَنْ سَمُرَةَ، ‏.‏ قَالَ أَبُو عِيسَى وَأَكْثَرُ أَصْحَابِ إِسْمَاعِيلَ قَالُوا عَنْ قَيْسِ بْنِ أَبِي حَازِمٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم بَعَثَ سَرِيَّةً وَلَمْ يَذْكُرُوا فِيهِ عَنْ جَرِيرٍ.‏ وَرَوَاهُ حَمَّادُ بْنُ سَلَمَةَ عَنْ الْحَجَّاجِ بْنِ أَرْطَاةَ عَنْ إِسْمَعِيلَ بْنِ أَبِي خَالِدٍ عَنْ قَيْسٍ عَنْ جَرِيرٍ مِثْلَ حَدِيثِ أَبِي مُعَاوِيَةَ قَالَ وَسَمِعْت مُحَمَّدًا يَقُولُ الصَّحِيحُ حَدِيثُ قَيْسٍ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مُرْسَلٌ وَرَوَى سَمُرَةُ بْنُ جُنْدَبٍ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا تُسَاكِنُوا الْمُشْرِكِينَ وَلَا تُجَامِعُوهُمْ فَمَنْ سَاكَنَهُمْ أَوْ جَامَعَهُمْ فَهُوَ مِثْلُهُمْ

sunnah.com