[Machine] The Prophet ﷺ was in prayer when someone entered the mosque and also began to pray. The Prophet ﷺ said, "Allah is the Greatest, very Great, and Glory be to Allah with abundant praise." Then, the Prophet ﷺ was raised up to the heavens, and then he returned to his prayer. When he finished his prayer, he asked, "Who was the person who spoke the words?" The person replied, "It was me, O Messenger of Allah." The Prophet ﷺ said, "Indeed, the doors of heavens were opened for them, and nothing prevented it except the Throne."
كَانَ النَّبِيُّ ﷺ فِي الصَّلَاةِ فَدَخَلَ دَاخِلٌ فِي الصَّلَاةِ فَقَالَ اللهُ أَكْبَرُ كَبِيرًا وَسُبْحَانَ اللهِ وَبِحَمْدِهِ كَثِيرًا فَرَفَعَ نَبِيُّ اللهِ ﷺ إِلَى السَّمَاءِ ثُمَّ أَقْبَلَ عَلَى صَلَاتِهِ حَتَّى إِذَا فَرَغَ مِنَ الصَّلَاةِ قَالَ «مَنْ صَاحِبُ الْكَلِمَةِ؟» قَالَ أَنَا يَا رَسُولَ اللهِ قَالَ «لَقَدْ فُتِحَتْ لَهَا أَبْوَابُ السَّمَاءِ فَمَا نَهْنَهَهَا شَيْءٌ دُونَ الْعَرْشِ»