Ubayy bin Kaab reported,

The Prophet ﷺ was at the pond of Banu Ghifar when Jibreel عليه السلام came to him and said, "Allah commands you to have your community recite the Quran according to one mode."The Prophet replied, "I ask Allah for His pardon and His forgiveness. My community cannot bear that."Jibreel came to him a second time and said, "Allah commands you to have your community recite the Quran according to two modes."He replied, "I ask Allah for His pardon and His forgiveness. My community cannot bear that."Jibreel came to him a third time and said, "Allah commands you to have your community recite the Quran according to three modes."He replied, "I ask Allah for His pardon and His forgiveness. My community cannot bear that."Then Jibreel came to him a fourth time and said, "Allah commands you to have your community recite the Quran according to seven modes. Whichever of these modes they recite by, they have recited correctly."

Muslim 1907

Sahih

و حدثناه عبيد الله بن معاذ حدثنا أبي حدثنا شعبة بهذا الإسناد مثله

مسلم 1907صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Quran and what relates to it
Chapter
Clarification that the Quran was revealed in seven modes and clarification of its meaning
Numbering
Darussalam 1907
Muslim 1907