وعن عبد الله بن مسعود رضي الله عنه قال : التفت إلينا رسول الله صلى الله عليه وآله وسلم فقال : « إذا صلى أحدكم فليقل : التحيات لله والصلوات والطيبات السلام عليك أيها النبي ورحمة الله وبركاته السلام علينا وعلى عباد الله الصالحين أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله ثم ليتخير من الدعاء أعجبه إليه فيدعو ». متفق عليه واللفظ للبخاري. وللنسائي : كنا نقول قبل أن يفرض علينا التشهد. ولأحمد : أن النبي صلى الله عليه وآله وسلم علمه التشهد وأمره أن يعلمه الناس. ولمسلم عن ابن عباس قال : كان رسول الله صلى الله عليه وآله وسلم يعلمنا التشهد : « التحيات المباركات الصلوات الطيبات لله» إلى آخره .
Narrated 'Abdullah bin Mas'ud (RA): Allah's Messenger (ﷺ) looked at us and said, "When one of you is (sitting) in prayer, he should say, 'All services reported by words, by prayers (acts of worship), and all good things are due to Allah, peace be upon you, O Prophet, and Allah's mercy and blessings, peace be upon us and upon Allah's upright slaves. I testify that nothing deserves to be worshipped except Allah and I testify that Muhammad is His slave and Messenger.' Then he may choose any supplication which pleases him most and recite it." [Agreed upon, and this wording is from al-Bukhari]. In the narration of an-Nasa'i: 'We used to say before at-Tashahhud become obligatory on us'. And in the narration of Ahmad: 'The Prophet (ﷺ) taught him at-Tashahhud and ordered him to teach it to the people.' In Muslim's narration from Ibn 'Abbas (RA): Allah's Messenger (ﷺ) used to teach us at-Tashahhud: "All services expressed by words, increase in good, acts of worship and all good things are due to Allah ... " till the end.