Sahih Muslim
375.01

Anas reported:When the Messenger of Allah (ﷺ) entered the privy, and in the hadith transmitted by Hushaim (the words are): When the Messenger of Allah (ﷺ) entered the lavatory, be used to say: O Allah, I seek refuge in Thee from wicked and noxious things

375.02

This hadith is also transmitted by 'Abd al-'Aziz with the same chain of transmitters, and the words are:I seek refuge with Allah from the wicked and noxious things