FIQH 1.17: HE SHOULD MOVE AND HIDE HIMSELF FROM OTHERS WHILE GOING TO THE BATHROOM
This is especially true in the case of defecation, so others can not hear noxious sounds or smell bad odors. Said Jabir, “We were journeying with the Messenger of Allah, upon whom be peace, and he would only relieve himself when he was out of sight.” (This is related by Ibn Majah.) Abu Dawud records that, “When he wanted to relieve himself, he would go where no one could see him.” He also related, “When the Messenger of Allah, upon whom be peace, went out he would go very far away.”
Fiqh 1.17 a: One should mention the name of Allah and seek refuge in Him when entering the privy or removing his clothes to relieve himself
Anas reported that when the Messenger of Allah, upon whom be peace, entered the privy he would say, “In the name of Allah. O Allah! I seek refuge in you from male and female noxious beings (devils).” This is related by “the group.”
Fiqh 1.17 b: One should not talk when going to the bathroom
One should not respond to a greeting or repeat what the caller to prayer is saying. He may speak if there is some necessity (i.e., to guide a blind man who fears he may be harmed). If he sneezes, he should praise Allah to himself and simply move his lips (without making a sound). Ibn ‘Umar related that a man passed by the Prophet, upon whom be peace, and greeted him while he (the Prophet) was urinating. The Prophet did not return his greeting. (This is related by “the group,” except for al-Bukhari.) Abu Sa’eed reported that he heard the Messenger of Allah, upon whom be peace, say, “Isn’t it true that Allah detests those who converse while they relieve themselves?” This was related by Ahmad, Abu Dawud and Ibn Majah.
This hadith seems to support the position that it is forbidden to talk. Many scholars, however, say that it is only disliked, not forbidden.
Source: Fiqh us Sunnah
Comments

John Doe
23/3/2019Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

John Doe
23/3/2019Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
John Doe
23/3/2019Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.