Ubadah bin al-Samit reported the Messenger of Allah ﷺ as saying; If anyone is alarmed while asleep and he says when awakes: there is no god but Allah alone Who has no partner, to whom dominion belongs, to whom praise is due, and who has power over everything (omnipotent). Glory be to Allah, and praise be to Allah, and there is no god but Allah, and then he prays: O my Lord, forgive me. Abu Dawud said: Al-Walid’s version has; and he prays, his prayer will be answered. If he gets up, performs ablution, and prays, his prayer will be accepted.
Hadith Referenceسنن ابي داود / أبواب النوم / 5060
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح بخاري (1154)
Hadith Takhrij« صحیح البخاری/التہجد 21 (1154)، سنن الترمذی/الدعوات 26 (3414)، سنن ابن ماجہ/الدعاء 16 (3878)، (تحفة الأشراف: 5074)، وقد أخرجہ: مسند احمد (5/313)، سنن الدارمی/الاستئذان 53 (2729) (صحیح) »
Narrated Aishah, Ummul Muminin: When the Messenger of Allah ﷺ awake at night, he said: There is no god but thou, glory be to Thee, O Allah, I ask Thy pardon for my sin and I ask Thee for Thy mercy. O Allah! advance me in knowledge: do not cause my heart to deviate (from guidance) after Thou hast guided me, and grant me mercy from thyself; verily thou art the grantor.
Hadith Referenceسنن ابي داود / أبواب النوم / 5061
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:إسناده حسن, مشكوة المصابيح (1214)
Hadith Takhrij« تفرد بہ أبو داود، (تحفة الأشراف: 16118) (ضعیف) » (اس کے راوی عبداللہ بن ولید مصری لین الحدیث ہیں)