Abdullah bin Masud reported,

Whenever we sat with the Messenger of Allah ﷺ during the prayer, we used to say, "Peace be upon Allah from His servants, peace be upon so-and-so and so-and-so."The Messenger of Allah ﷺ said, "Do not say, 'Peace be upon Allah,' for Allah Himself is Peace. Rather, when one of you sits, let him say, 'All greetings, prayers, and good things belong to Allah. Peace be upon you, Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah.' For when you say this, it reaches every righteous servant between the heavens and the earth. 'I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and messenger.' Then let him choose whichever supplication he likes best and make it."

Ahmad 4101

Sahih

حدثنا يحيى عن الأعمش حدثني شقيق

عن عبد الله قال

كنا إذا جلسنا مع رسول الله ﷺ في الصلاة قلنا السلام على الله من عباده السلام على فلان وفلان فقال رسول الله ﷺ لا تقولوا السلام على الله فإن الله هو السلام ولكن إذا جلس أحدكم فليقل التحيات لله والصلوات والطيبات السلام عليك أيها النبي ورحمة الله وبركاته السلام علينا وعلى عباد الله الصالحين فإنكم إذا قلتم ذلك أصابت كل عبد صالح بين السماء والأرض أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله ثم ليتخير أحدكم من الدعاء أعجبه إليه فليدع به

أحمد 4101صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 4101
Ahmad 4101