Narrated Anas:
Whenever the Prophet (ﷺ) went to answer the call of nature, he used to say,
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ
TRANSLATION:
O Allah, I seek Refuge with You from all offensive and wicked things (evil deeds and evil spirits.