Amr bin Shu'ayb narrates from his father, and he from his grandfather (Sayyiduna Abdullah bin Amr, may Allah be pleased with them both), that the Messenger of Allah (peace and blessings be upon him) said: "Whoever, when he wakes at night and turns over, says 'Bismillah' (In the name of Allah) ten times, 'Subhan Allah' (Glory be to Allah) ten times, and 'Amantu billahi wa kafartu bit-taghut' (I believe in Allah and I disbelieve in false deities) ten times, is protected from everything he fears, and it is not permissible for any sin to overtake him until the same time (the next night)."
Hadith Referenceالمعجم الأوسط / باب الميم / 9017
Hadith Gradingمحدثین:إسناده ضعيف لضعف المقدام بن داود، وقد وثق
Hadith Takhrij«قال الهيثمي: فيه المقدام بن داود وهو ضعيف وقال ابن دقيق العيد قد وثق فعلى هذا يكون الحديث حسنا «مجمع الزوائد ومنبع الفوائد، ج 10، ص 125»»