It is often quoted that Tashahud in prayer is a replication of the conversation that took place during Miraj when our Prophet
for the first time:At Tahiyyaatu lilaahi was Salawaatu wat tayibaatu
As Salaamu 'alaika ayyuhan nabiyyu wa rahmatul laahi wa barakaatuh
As Salaamu 'alainaa wa 'alaa 'ebaadillaahis saaliheen,
Ash hadu allaa ilaah ilallaah
Wa ash hadu anna Muhammadan 'abduhuu wa rasuuluh
All greetings, blessings and good acts are from You, my Lord.
Greetings to you, O Prophet, and the mercy and blessings of Allah.
Peace be unto us, and unto the righteous servants of Allah.
I bear witness that there is no deity except Allah.
And I bear witness that Muhammad is His servant and messenger.
I’m not sure I know where there is a specific reference but is related by many. Anyone else have an idea?
On a side note, there’s an interesting grammatical nuance that ‘Asalaamu Alaika’ [the singular] is used to greet the Prophet
as opposed to the usual ‘Asalaamu Alaikum’ which by definition refers to a plural.
As ever, Allah knows best.