Abu Bakr said, "Messenger of Allah, instruct me with words to say each morning and each evening."He replied, "Say, 'O Allah, Knower of the unseen and the seen, Originator of the heavens and the earth, Lord and Sovereign of all things, I bear witness that there is no god but You. I seek refuge in You from the evil of myself and from the evil of Satan and his partnership in shirk.'"He said, "Say it when you rise in the morning, when you enter the evening, and when you lie down to sleep."
حدثنا محمود بن غيلان حدثنا أبو داود قال أنبأنا شعبة عن يعلى بن عطاء قال سمعت عمرو بن عاصم الثقفي يحدث
قال أبو بكر يا رسول الله مرني بشيء أقوله إذا أصبحت وإذا أمسيت قال قل اللهم عالم الغيب والشهادة فاطر السموات والأرض رب كل شيء ومليكه أشهد أن لا إله إلا أنت أعوذ بك من شر نفسي ومن شر الشيطان وشركه قال قله إذا أصبحت وإذا أمسيت وإذا أخذت مضجعك
[Its chain is sahih]. Abu Dawud also reported it, no. 5067, from the hadith of Yaala through him, and it is in Musnad Abu Dawud Tayalisi, no. 9, 2583. Ibn Hibban graded it sahih, no. 2349, as did Hakim, 1/513, and Dhahabi agreed with him.