Sahih al-Bukhari, Book 66, Hadith 87 (In-Book)

Narrated `Abdullah: That he heard a man reciting a Quranic Verse which he had heard the Prophet reciting in a different way. So he took that man to the Prophet (and told him the story). The Prophet said, "Both of you are reciting in a correct way, so carry on reciting." The Prophet further added, "The nations which were before you were destroyed (by Allah) because they differed."

حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْمَلِكِ بْنِ مَيْسَرَةَ، عَنِ النَّزَّالِ بْنِ سَبْرَةَ، عَنْ عَبْدِ اللَّهِ، أَنَّهُ سَمِعَ رَجُلاً، يَقْرَأُ آيَةً، سَمِعَ النَّبِيَّ صلى الله عليه وسلم خِلاَفَهَا، فَأَخَذْتُ بِيَدِهِ فَانْطَلَقْتُ بِهِ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ ‏ "‏ كِلاَكُمَا مُحْسِنٌ فَاقْرَآ ـ أَكْبَرُ عِلْمِي قَالَ ـ فَإِنَّ مَنْ كَانَ قَبْلَكُمُ اخْتَلَفُوا فَأَهْلَكَهُمْ ‏" ‏‏.‏

sunnah.com