I do not know any evidence that the Prophet mentioned At-Taḥiyyāt in reference to his Ascension to heaven (Al-Miʽrāj). It may be a delusion or a story made up by people. The authentic sources of ḥadīth say that the Prophet (peace be upon him) taught At-Taḥiyyāt to his companions, as mentioned in the ḥadīth of Ibn Masʽūd in Aṣ-Ṣaḥīḥ and other sources which contain no mention of the story of Al-Miʽrāj in this context. Here, I would like to draw the attention of my brothers and sisters to the danger of accepting what is posted on the internet without scrutiny.
Fatwa by Dr. Khālid Naṣr