The bathroom ki dua is an important prayer to make while you are in the bathroom. The prayer is based on a hadith found in Sahih Muslim, 223a, where Anas and Hushaim reported that the Prophet Muhammad would enter the lavatory and privy and would pray to Allah for protection from evil things. It is important to say this prayer to Allah each time you use the lavatory because the bathroom is a place of impurities and exposed ‘awrahs.
The dua is made to help you avoid harm from demons. The Prophet Muhammad once warned us not to be careless when we enter the bathroom. In the same way, it is imperative to make dua when we leave the bathroom. This prayer can help you stay away from the temptations of the devils, as well as protect you from the evil intentions of the other person.