Narrated Abdullah ibn Masud: When the Messenger of Allah ﷺ addressed, he would say: Praise be to Allah, from Whom we seek help and pardon, and we seek refuge in Allah from the evils of our souls. He whom Allah guide has no one who can lead him astray, and he whom He leads astray has no one to guide him. And I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and Messenger. He sent him before the coming of the last hour with truth giving good tidings and warning. He who obeys Allah and His Messenger follows the right path; and he who disobeys them shall harm none except himself, and he will not harm Allah in the least.
Hadith Referenceسنن ابي داود / تفرح أبواب الجمعة / 1097
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:ضعيف, إسناده ضعيف, قتادة عنعن, و أبو عياض مجهول (تقريب التهذيب: 8293), انوار الصحيفه، صفحه نمبر 49
Narrated Abdullah ibn Masud: When the Messenger of Allah ﷺ recited the tashahhud. . . . He then narrated the same tradition. In this version after the word "and His Messenger" he added the words: "He has sent him in truth as a bearer of glad tidings and a warner before the Hour. He who obeys Allah and His Prophet is on the right path, and he who disobeys them does not harm anyone except himself, and he does not harm Allah to the least.
Hadith Referenceسنن ابي داود / كتاب النكاح / 2119
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:ضعيف, إسناده ضعيف, قتادة عنعن, و أبو عياض :مجهول, انوار الصحيفه، صفحه نمبر 80