Muwatta Malik — Hadith 202 (KitabGrid sequence)
وَحَدَّثَنِي عَنۡ مَالِكٍ، عَنۡ نَافِعٍ، أَنَّ عَبۡدَ اللَّهِ بۡنَ عُمَرَ، كَانَ يَتَشَهَّدُ فَيَقُولُ بِاسۡمِ اللَّهِ التَّحِيَّاتُ لِلَّهِ الصَّلَوَاتُ لِلَّهِ الزَّاكِيَاتُ لِلَّهِ السَّلاَمُ عَلَى النَّبِيِّ وَرَحۡمَةُ اللَّهِ وَبَرَكَاتُهُ السَّلاَمُ عَلَيۡنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ شَهِدۡتُ أَنۡ لاَ إِلَهَ إِلاَّ اللَّهُ شَهِدۡتُ أَنَّ مُحَمَّدًا رَسُولُ اللَّهِ . يَقُولُ هَذَا فِي الرَّكۡعَتَيۡنِ الأُولَيَيۡنِ وَيَدۡعُو إِذَا قَضَى تَشَهُّدَهُ بِمَا بَدَا لَهُ فَإِذَا جَلَسَ فِي آخِرِ صَلاَتِهِ تَشَهَّدَ كَذَلِكَ أَيۡضًا إِلاَّ أَنَّهُ يُقَدِّمُ التَّشَهُّدَ ثُمَّ يَدۡعُو بِمَا بَدَا لَهُ فَإِذَا قَضَى تَشَهُّدَهُ وَأَرَادَ أَنۡ يُسَلِّمَ قَالَ السَّلاَمُ عَلَى النَّبِيِّ وَرَحۡمَةُ اللَّهِ وَبَرَكَاتُهُ . السَّلاَمُ عَلَيۡنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ السَّلاَمُ عَلَيۡكُمۡ عَنۡ يَمِينِهِ ثُمَّ يَرُدُّ عَلَى الإِمَامِ فَإِنۡ سَلَّمَ عَلَيۡهِ أَحَدٌ عَنۡ يَسَارِهِ رَدَّ عَلَيۡهِ .
Translation
He also narrated to me, from Malik, from Nafi',
that Abdullah ibn Umar رضي الله تعالى عنه used to say in the tashahhud: “In the name of Allah. All greetings belong to Allah, all prayers belong to Allah, all pure deeds belong to Allah. Peace be upon the Prophet صلى الله عليه وآله وسلم, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. I bear witness that there is no deity but Allah. I bear witness that Muhammad صلى الله عليه وآله وسلم is the Messenger of Allah.” He would say this in the first two rak'ahs and supplicate as he wished when he had finished his tashahhud. When he sat at the end of his prayer, he would pronounce the tashahhud in the same manner, except that he would put the tashahhud first and then supplicate as he wished. When he had finished his tashahhud and wished to pronounce the taslim, he would say, “Peace be upon the Prophet صلى الله عليه وآله وسلم, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. Peace be upon you,” to his right. Then he would return the imam's greeting, and if someone on his left greeted him, he would return his greeting.
Ready.