The Messenger of Allah ﷺ said, "Allah has protected you from three things. That your Prophet should not invoke against you, causing you all to perish. That the people of falsehood should not prevail over the people of truth. And that you should not unite upon misguidance."
حدثنا محمد بن عوف الطائي حدثنا محمد بن إسمعيل حدثني أبي قال ابن عوف وقرأت في أصل إسمعيل قال حدثني ضمضم عن شريح
قال رسول الله ﷺ إن الله أجاركم من ثلاث خلال أن لا يدعو عليكم نبيكم فتهلكوا جميعا وأن لا يظهر أهل الباطل على أهل الحق وأن لا تجتمعوا على ضلالة
No references are available.
[Its chain is daif] Khatib narrated it in Al-Faqih wal-Mutafaqqih: 1/160, from the hadith of Abu Dawud Shurayh bin Ubayd, from Abu Malik Ashari, as a mursal narration (Jami Tahsil, p. 195).