(150) باب مَا يُتَخَيَّرُ مِنَ الدُّعَاءِ بَعْدَ التَّشَهُّدِ وَلَيْسَ بِوَاجِبٍ
Narrated `Abdullah:
When we prayed with the Prophet (ﷺ) we used to say, "Peace be on Allah from His slaves and peace be on so and so." The Prophet (ﷺ) said, "Don't say As-Salam be on Allah, for He Himself is As-Salam, but say, at-tahiyatu li l-lahi wa s-salawatu wa t-taiyibat. As-salamu `alaika aiyuha n-Nabiyu wa rahmatu l-lahi wa barakatuh. As-salamu `alaina wa `ala `ibadi l-lahi s-salihin. (If you say this then it will reach all the slaves in heaven or between heaven and earth). Ash-hadu al la-ilaha illa l-lah, wa ash-hadu anna Muhammadan `Abduhu wa Rasuluh.' Then select the invocation you like best and recite it." (See Hadith No. 794, 795 & 796).
Reference: Sahih al-Bukhari 835
In-book reference: Book 10, Hadith 228
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 12, Hadith 797