Mishkat al-Masabih 152
وَعَن عبد الله بن عَمْرو قَالَ: هَجَّرْتُ إِلَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَوْمًا قَالَ: فَسَمِعَ أَصْوَاتَ رَجُلَيْنِ اخْتَلَفَا فِي آيَةٍ فَخَرَجَ عَلَيْنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُعْرَفُ فِي وَجْهِهِ الْغَضَبُ فَقَالَ: «إِنَّمَا هَلَكَ مَنْ كَانَ قَبْلَكُمْ باختلافهم فِي الْكتاب» . رَوَاهُ مُسلم
From ʿAbdullah ibn ʿAmr, who said: I went early to the Messenger of Allah ﷺ one day. He said: He heard the voices of two men who differed over a verse. The Messenger of Allah ﷺ came out to us, with anger recognisable in his face, and said: "Those before you were only destroyed by their differing over the Book." Reported by Muslim.