Ubayy bin Kaab reported,

The Prophet ﷺ said, "Ubayy, I was given the Quran to recite, and I was asked, 'In one letter, two, or three?' The angel with me said, 'Say two letters,' so I said, 'Two letters.' Then I was asked, 'Two letters or three?' The angel with me said, 'Say three,' so I said, 'Three.' This continued until it reached seven letters. Then he said, 'Each of them is sufficient and complete, as long as you do not end a verse of punishment with mercy, or a verse of mercy with punishment. You may say Sameean, Aleeman, Azeezan, Hakeeman.'"

Azami 11754

Sahih

عن أبي بن كعب، قال

قال النبي ﷺ: يا أبي، إني أقرئت القرآن، فقيل لي: على حرف أو حرفين أو ثلاث؟ فقال الملك الذي معي: قل على حرفين، فقلت: على حرفين. فقيل لي: على حرفين أو ثلاثة؟ فقال الملك الذي معي: قل على ثلاثة، قلت: على ثلاثة، حتى بلغ سبعة أحرف، ثم قال: ليس منها إلا شاف كاف، إن قلت: سميعا، عليما، عزيزا، حكيما، ما لم تختم آية عذاب برحمة، أو آية رحمة بعذاب.

الأعظمي 11754صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sciences of the Quran and its virtues
Chapter
Sciences of the Quran
Section
Quran was revealed in seven modes and their meaning
Numbering
Jami al-Kamil 11754 (2nd edition)
Azami 11754