Sahih al-Bukhari 2410
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا شُعْبَةُ، قَالَ عَبْدُ الْمَلِكِ بْنُ مَيْسَرَةَ أَخْبَرَنِي قَالَ سَمِعْتُ النَّزَّالَ، سَمِعْتُ عَبْدَ اللَّهِ، يَقُولُ سَمِعْتُ رَجُلاً، قَرَأَ آيَةً سَمِعْتُ مِنَ النَّبِيِّ، صلى الله عليه وسلم خِلاَفَهَا، فَأَخَذْتُ بِيَدِهِ، فَأَتَيْتُ بِهِ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ كِلاَكُمَا مُحْسِنٌ ". قَالَ شُعْبَةُ أَظُنُّهُ قَالَ " لاَ تَخْتَلِفُوا فَإِنَّ مَنْ كَانَ قَبْلَكُمُ اخْتَلَفُوا فَهَلَكُوا "."
Narrated `Abdullah:
I heard a man reciting a verse (of the Holy Qur'an) but I had heard the Prophet (ﷺ) reciting it differently. So, I caught hold of the man by the hand and took him to Allah's Messenger (ﷺ) who said, "Both of you are right." Shu`ba, the sub-narrator said, "I think he said to them, "Don't differ, for the nations before you differed and perished (because of their differences). "
Full reference and source
Sahih al-Bukhari 2410 In-book : Book 44, Hadith 1 USC-MSA web (English) : Vol. 3, Book 41, Hadith 593 (deprecated)
View source on Sunnah.com (opens in a new tab)