[Machine] He informed him that the Messenger of Allah ﷺ said to Ubayy bin Ka'b while he was praying. When he finished his prayer, he placed his hand on Ubayy's hand and said, while he intended to leave through the door of the masjid, "I hope that you do not leave the masjid until you learn a Surah that has been revealed in the Torah, the Injeel, and the Qur'an, like it." Ubayy said, "So I slowed down in my walking, hoping for that. Then I said, 'O Messenger of Allah, which Surah did you promise me?' He said, 'How do you recite it when the prayer is first opened?' I said, "I recite, All praise is due to Allah, the Lord of all the worlds" until I reached its end. The Messenger of Allah ﷺ said, 'It is this Surah and it is the seven repeated verses and the Glorious Qur'an which I have been given.'"
أَخْبَرَهُ أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لِأُبَيِّ بْنِ كَعْبٍ وَهُوَ يُصَلِّي فَلَمَّا فَرَغَ مِنْ صَلَاتِهِ كَفَّهُ قَالَ فَوَضَعَ النَّبِيُّ ﷺ يَدَهُ عَلَى يَدِي قَالَ وَهُوَ يُرِيدُ أَنْ يَخْرُجَ مِنْ بَابِ الْمَسْجِدِ فَقَالَ «إِنِّي أَرْجُو أَنْ لَا تَخْرُجَ مِنَ الْمَسْجِدِ حَتَّى تَعْلَمَ سُورَةً مَا أُنْزِلَ فِي التَّوْرَاةِ وَلَا فِي الْإِنْجِيلِ وَلَا فِي الْقُرْآنِ مِثْلُهَا» قَالَ فَجَعَلْتُ أَتَبَاطَأُ فِي الْمَشْيِ رَجَاءَ ذَلِكَ ثُمَّ قُلْتُ يَا رَسُولَ اللَّهِ السُّورَةُ الَّتِي وَعَدْتَنِي قَالَ «كَيْفَ تَقْرَأُ إِذَا افْتُتِحَتِ الصَّلَاةُ؟» قَالَ فَقَرَأْتُ الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ حَتَّى أَتَيْتُ عَلَى آخِرِهَا فَقَالَ رَسُولُ اللَّهِ ﷺ «هِيَ هَذِهِ السُّورَةُ وَهِيَ السَّبْعُ الْمَثَانِي وَالْقُرْآنُ الْعَظِيمُ الَّذِي أُعْطِيتُ»