: The Prophet (may Allah's peace and blessings be upon him) used to say before entering the bathroom: O Allah, I seek refuge in You from the male and female devils [Sahih/Authentic] - [Al-Bukhari and Muslim]
"كان النبي صلى الله عليه وسلم إذا دخل الخَلاء قال: ((اللهم إني أَعُوذ بك من الخُبُثِ والخَبَائِث)). [صحيح.] - [متفق عليه.]"