Authentic Supplication Number 021.

Abu Bakr Assiddeek said: The Messenger of Allah  said: "Say in the morning and in the evening: 'Allahumma `alim 'al-ghaybi wash-shahadeti, fatiras-samawati wal 'ardhi, rabba kulli shay'in wa maleekahu, 'ashhadu 'an la 'ilaha 'illa 'anta, 'a`outhu bika min sharri nafsee, wa sharrish-shaytani wa shirkihi (38).

And in one narration the following addition: wa 'an 'aqtarifa `ala nafsee soo'an, 'aw 'ajurrahu 'ila muslimin (39) say it in the morning, and in the evening, and when you take to your bed".

Footnotes.
(38) O' my 'ilah Knower of the hidden, and the visible; Creator of the Heavens and the Earth; Sustainer, and Master of everything; I testify that there is no 'ilah save Thee, and I seek Thy protection from the evil of my self, and the evil of the shaytan and his association [with Thee]. Note: this can be a reference to the association, as being his; or a reference to his instigation of association with Allah.

(39) And [I also seek refuge in You] that I bring harm upon myself, or drag it upon another Muslim.

Reporters.
Reported by At-Tirmithi who said it was comely-sound. Al-Albani agreed, and included it in The Authentic of Good Sayings as #21.