Hadithcore
Sunan Abi Dawud, 4253

Narrated AbuMalik al-Ash'ari:

The Prophet (ﷺ) said: Allah has protected you from three things: that your Prophet (ﷺ) should not invoke a curse on you and should all perish, that those who follow what is false should not prevail over those who follow the truth, and that you should not all agree in an error.

حَدَّثَنَا مُحَمَّدُ بْنُ عَوْفٍ الطَّائِيُّ، حَدَّثَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ، حَدَّثَنِي أَبِي، - قَالَ ابْنُ عَوْفٍ وَقَرَأْتُ فِي أَصْلِ إِسْمَاعِيلَ - قَالَ حَدَّثَنِي ضَمْضَمٌ، عَنْ شُرَيْحٍ، عَنْ أَبِي مَالِكٍ، - يَعْنِي الأَشْعَرِيَّ - قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ إِنَّ اللَّهَ أَجَارَكُمْ مِنْ ثَلاَثِ خِلاَلٍ أَنْ لاَ يَدْعُوَ عَلَيْكُمْ نَبِيُّكُمْ فَتَهْلِكُوا جَمِيعًا وَأَنْ لاَ يَظْهَرَ أَهْلُ الْبَاطِلِ عَلَى أَهْلِ الْحَقِّ وَأَنْ لاَ تَجْتَمِعُوا عَلَى ضَلاَلَةٍ ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 37, Hadith 14
English Reference
Book 36, Hadith 4240