َ
Entering the toilet:

اللَّهُـمَّ إِنِّي أَعُـوذُ بِـكَ مِـنَ الْخُـبْثِ وَالْخَبَائِثِ

"O Allah, I take refuge with you from all evil and evil-doers.


Leaving the toilet:

غُفْرَانَكَ

"I ask You (Allah) for forgiveness."
Essential
Duas