That the Messenger of Allah ﷺ, whenever he pronounced the testimony of faith...A man from Banu Sulaym reported, "I asked the Prophet ﷺ for the hand of Umama bint Abdul-Muttalib in marriage, and he gave her to me in marriage without pronouncing the testimony of faith."And after the words "and His Messenger" he said, "He sent him with the truth as a bearer of good news and a warner before the Hour. Whoever obeys Allah and His Messenger has been rightly guided, and whoever disobeys them harms none but himself and does no harm to Allah at all."
حدثنا محمد بن بشار حدثنا أبو عاصم حدثنا عمران عن قتادة عن عبد ربه عن أبي عياض عن ابن مسعود أن رسول الله ﷺ كان إذا تشهد ذكر نحوه وقال بعد قوله ورسوله أرسله بالحق بشيرا ونذيرا بين يدي الساعة من يطع الله ورسوله فقد رشد ومن يعصهما فإنه لا يضر إلا نفسه ولا يضر الله شيئا
Sourcing, its chain of transmission is daif. Bayhaqi 7/146 narrated it from the hadith of Abu Asim, by this route, and it has already appeared at number 1097. Qatada narrated with an ambiguous form (an'ana), and Abu Ayyad is unknown. It is contradicted by the sahih hadith, see numbers 1099 and 4981.