كتاب صلاة المسافرين وقصرها
6  
The Book of Prayer - Travellers
(48)
Chapter: The clarification that the Qur’an was revealed in seven ahruf (modes of recitation), and clarifying its meaning
(48)
باب بَيَانِ أَنَّ الْقُرْآنَ عَلَى سَبْعَةِ أَحْرُفٍ وَبَيَانِ مَعْنَاهُ ‏
Sahih Muslim 819 a

Ibn 'Abbas reported Allah's Messenger (ﷺ) as saying:

Gabriel taught me to recite in one style. I replied to him and kept asking him to give more (styles), till he reached seven modes (of recitation). Ibn Shibab said: It has reached me that these seven styles are essentially one, not differing about what is permitted and what is forbidden.
وَحَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى، أَخْبَرَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ عَبْدِ اللَّهِ بْنِ عُتْبَةَ، أَنَّ ابْنَ عَبَّاسٍ، حَدَّثَهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ أَقْرَأَنِي جِبْرِيلُ - عَلَيْهِ السَّلاَمُ - عَلَى حَرْفٍ فَرَاجَعْتُهُ فَلَمْ أَزَلْ أَسْتَزِيدُهُ فَيَزِيدُنِي حَتَّى انْتَهَى إِلَى سَبْعَةِ أَحْرُفٍ ‏"‏ ‏.‏ قَالَ ابْنُ شِهَابٍ بَلَغَنِي أَنَّ تِلْكَ السَّبْعَةَ الأَحْرُفَ إِنَّمَا هِيَ فِي الأَمْرِ الَّذِي يَكُونُ وَاحِدًا لاَ يَخْتَلِفُ فِي حَلاَلٍ وَلاَ حَرَامٍ ‏.‏
Reference : Sahih Muslim 819a
In-book reference : Book 6, Hadith 330
USC-MSA web (English) reference : Book 4, Hadith 1785
  (deprecated numbering scheme)