I went early to the Messenger of Allah ﷺ one day, and he heard the voices of two men disputing over a verse. The Messenger of Allah ﷺ came out to us with anger visible on his face and said, "Those before you were destroyed only because of their disputes over the Scripture."
هجرت إلى رسول الله ﷺ يوما، قال: فسمع أصوات رجلين اختلفا في آية، فخرج علينا رسول الله ﷺ يعرف في وجهه الغضب، فقال: إنما هلك من كان قبلكم باختلافهم في الكتاب.
Muslim narrated it in the Book of Knowledge (2666), from Abu Kamil, who said, Hammad bin Zayd narrated to us, Abu Imran Jawni narrated to us, he said, Abdullah bin Rabah Ansari wrote to me that Abdullah bin Amr [narrated it], and he mentioned it.