[Machine] The Messenger of Allah ﷺ said: "I command you with five things that Allah has commanded me with: the congregation, listening, obedience, migration, and striving in the way of Allah. Whoever separates himself from the congregation by a handspan has removed the bond of Islam from his head, unless he returns." This narration was reported by Mu'awiya bin Salam and Aban bin Yazid al-Attar from Yahya bin Abi Kathir. As for the narration of Mu'awiya, Adh-Dhahabi refrained from summarizing it.
قَالَ رَسُولُ اللَّهِ ﷺ آمُرُكُمْ بِخَمْسِ كَلِمَاتٍ أَمَرَنِي اللَّهُ بِهِنَّ الْجَمَاعَةُ وَالسَّمْعُ وَالطَّاعَةُ وَالْهِجْرَةُ وَالْجِهَادُ فِي سَبِيلِ اللَّهِ فَمَنْ خَرَجَ مِنَ الْجَمَاعَةِ قِيدَ شِبْرٍ فَقَدْ خَلَعَ رِبْقَةَ الْإِسْلَامِ مِنْ رَأْسِهِ إِلَّا أَنْ يَرْجِعَ « وَهَكَذَا رَوَاهُ بِطُولِهِ مُعَاوِيَةُ بْنُ سَلَّامٍ وَأَبَانُ بْنُ يَزِيدَ الْعَطَّارُ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ» أَمَا حَدِيثُ مُعَاوِيَةَ سكت عنه الذهبي في التلخيص