Entering the toilet:
On the Authority of Anas Ibn Malik Radiallaho anhi, the Prophet (Salallahu alaihi wa sallam) when he used to enter seclusion ( to urinate etc) he used to say: “Oh Allah I seek refuge in you from the evil male and female jinns”.
Narrated in Bukhari Hadeeth Number 142
Narrated in Muslim Hadeeth Number 370
Additionally one should use his left foot when entering the toilet.
On leaving the toilet
On the Authority of Aisha Radiallaho anha she said: Whenever the Prophet (Salallahu alaihi wa sallam used to leave the toilet he said Ghufraanak.
Additionally one should use their right foot when leaving.
Narrated by the 5: Nasai, Abu Dawuud, Tirmidhi, Ibn Majah and Ahmad.
Putting oneself in seclusion when using the toilet:
On the Authority of Aisha Radiallaho anha she said: “The Messenger (Salallahu alaihi wa sallam) said: “Whoever goes to urinate or excrete let him seclude himself”.
About facing the Qibla only when in a building however when one is in the open he should not face the Qibla:
On the Authority of Abi Ayyub Al Ansari (Radiallaho Anhu) he said: The Messenger of Allah (Salallahu alaihi wa sallam) said: “When you go to the Ghait (place to do ones numbers) do not face the Qibla with stool or urine, but turn to the left or the right”.
Narrated in Bukhari Hadeeth Number 394 and Muslim 264
On the Authority of Abdillah Ibn Umar Ibn Khattab (Radiallaho anhuma) he said: I went once to Hafsah’s house, and I saw the Messenger (Salallahu alaihi wa sallam) using the toilet facing Shaam with his back to the Qiblah.
Narrated in Bukhari 148 and Muslim 266
Shaikh Abdullah Al Bassam said: And Imam Malik, Ash Shafi’ee, Ahmad, Ishaaq who narrated from Abdillah ibn Umar, and Imam Ash Sha’bi explained further these two Hadeeth, Therefore they make it haraam to do this action in the open and say it is Halaal in buildings.
And this is the truth because it joins between the two evidences. Because saying it is totally Haram negates using the other Hadeeth and also saying it is totally Halaal has the same effect. And explaining it further joins the evidences, and one can act upon both, and this is the Haqq. Because whenever it is possible to join between the evidences one must do so before everything…”
Tayseer Ul ‘Alaaam Sharh Umdah Al Ahkaam page 33
Not doing one’s numbers in places which people use
On the Authority of Abi Huraira (Radiallaho anhu) he said: the Messenger of Allah (Salallahu alaihi wa sallam) said: “Fear being cursed for two things: like those who urinate and excrete in the roads where people walk and in the shades of people” (like trees which they may use to have a picnic)
Narrated in Saheeh Muslim
About making Istinja with water:
On the Authority of Anas Ibn Malik Radiallaho anhu he said: the messenger (Salallahu alaihi wa sallam) used to seclude himself, and myself and a boy like me used to carry some water for him and his spear, and he washed himself with water.
Narrated by Bukhari Hadeeth Number 152 and Muslim 271
The prevention of holding one’s private parts and cleaning oneself with one’s right hand
On the Authority of Abi Qatadah- Al Harith Ibn Rib’ee- Radiallaho anhu; the Prophet (Salallahu alaihi wa sallam) said: “None of you should hold his private part with his right hand and he is urinating. And he should not clean himself from stool and urine with his right hand…”.
Narrated by Bukhari Hadeeth Number 153 and Muslim 267
Cleaning oneself using stones or other than that for Istinja
Condition of wiping oneself at least three times when using stones or paper etc.
On the Authority of Salaam Radiallaho anhi he said: The Messenger (Salallahu alaihi wa sallam) prevented us from facing the Qiblah with stool or urine, or to make istinja with the right hand, or to make istinja with less than three stones, or to make istinja with the stool of Donkeys or bones”. Narrated by Imam Muslim
Shaikh Fawzan said: And the condition (for this type of istinja also called istijmar when it is done with other than water) is to wipe the place three times or more, and it is unlawful to make istijmaar with bones or the stool of animals; beacause the Messenger (Salallahu alaihi wa sallam) prevented this, and upon him is to remove any kinds of residues that may be there and to dry it; so that no najasah is left on his body and that no najasah may go from one part of the body to the next.
(From the book Mulakkhas al Fiqhi: Volume 1 page 25)
Imam As San’aani said: “And the majority of the scholars say that it is better to join between using water and stones, and if one was to only limit himself it is better to use water…. And from the manners of istinja is to wipe the earth with one’s hand after, as Imam Abu Dawuud narrated in his collection that Abi Huraira said: “The Messenger of Allah (Salallahu alaihi wa sallam whenever he used to go into seclusion i gave him some water and then he made istinja from it, then he wiped his hand on the earth”. This Hadeeth is Hasan according to Shaikh Al Albani.
Subulus Salaam Volume 1: pages 187-188. In the edition of Daar Al Baseerah
The Punishment of those who let Urine get on their clothes
On the Authority of Abdillah Ibn abbas (Radiallaho anhuma) he said: The Prophet (Salallahu alaihi wa sallam) passed by two graves and said: “Both of them are being punished but they are not being punished for something grave: As for one of them he didn’t prevent urine from falling on him, and as for the other : He used to cause problems amongst people”.
Narrated in Bukhari 218 and Muslim 292
May Allah guide us toward his Sunnah and bless this small effort. Ameen