We were with the Messenger of Allah ﷺ without knowing anything, so the Messenger of Allah ﷺ said to us, "Say in every sitting, 'All greetings, prayers, and good things are for 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. I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and messenger.'"
أخبرنا أحمد بن عمرو بن السرح قال حدثنا ابن وهب قال أخبرني عمرو بن الحارث أن زيد بن أبي أنيسة الجزري حدثه أن أبا إسحق حدثه عن الأسود وعلقمة
كنا مع رسول الله ﷺ لا نعلم شيئا فقال لنا رسول الله ﷺ قولوا في كل جلسة التحيات لله والصلوات والطيبات السلام عليك أيها النبي ورحمة الله وبركاته السلام علينا وعلى عباد الله الصالحين أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله
[sahih] Previously mentioned, no. 1163, and it is in Al-Kubra, no. 754.