To proceed, the Messenger of Allah ﷺ commanded us that when we are in the middle of the prayer or at its conclusion, we should begin before the salutation by saying, "All greetings, good things, prayers, and sovereignty belong to Allah." Then give the salutation to the right, then give the salutation to your reciter and to yourselves.
حدثنا محمد بن داود بن سفيان حدثنا يحيى بن حسان حدثنا سليمان بن موسى أبو داود حدثنا جعفر بن سعد بن سمرة بن جندب حدثني خبيب بن سليمان بن سمرة عن أبيه سليمان بن سمرة
أما بعد أمرنا رسول الله ﷺ إذا كان في وسط الصلاة أو حين انقضائها فابدءوا قبل التسليم فقولوا التحيات الطيبات والصلوات والملك لله ثم سلموا على اليمين ثم سلموا على قارئكم وعلى أنفسكم
No references are available.
[Its chain of transmission is daif] Tabarani recorded it in Al-Kabir: 7/250, no. 7018, from the hadith of Yahya, who is unknown as Ibn Hajar and others stated, and Jafar bin Saad, who is daif, declared daif by Ibn Hassan, and by the majority.