[Machine] I heard the Messenger of Allah ﷺ saying, "Whoever separates from a community or reverts to being a Bedouin after his migration, he will have no proof (of his claim)." The two scholars (Bukhari and Muslim) agreed on excluding the hadith of Ghailan ibn Jarir from Ziyad ibn Ri'ah, from Abu Hurairah, that the Messenger of Allah ﷺ said, "Whoever separates from the congregation and dies, his death is the death of ignorance." This wording is different from the sixth hadith indicating that consensus is a source of proof. They agreed on excluding Abu Hurairah in such cases.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ فَارَقَ أُمَّةً أَوْ عَادَ أَعْرَابِيًّا بَعْدَ هِجْرَتِهِ فَلَا حُجَّةَ لَهُ» قَدِ اتَّفَقَ الشَّيْخَانِ عَلَى إِخْرَاجِ حَدِيثِ غَيْلَانَ بْنِ جَرِيرٍ عَنْ زِيَادِ بْنِ رِيَاحٍ عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «مَنْ فَارَقَ الْجَمَاعَةَ فَمَاتَ مَاتَ مَوْتَةً جَاهِلِيَّةً» وَهَذَا الْمَتْنُ غَيْرُ ذَاكَ الْحَدِيثُ السَّادِسُ فِيمَا يَدُلُّ عَلَى أَنَّ الْإِجْمَاعَ حُجَّةٌ اتفقا على إخراج أبي هريرة في مثل هذا