Praying in a room at the edge of which is a toilet

Dear Brothers & Sisters,
As-Salaamu-Alaikum wa Rahmatullahi wa Barakatuh. (May Allah's Peace, Mercy and Blessings be upon all of you)
One of our brothers/sisters has asked this question:
I live in a non-Muslim country and find some difficulty when the time of prayer comes while I am outside home as there are not always nearby mosques everywhere you go. A lot of sisters (including myself) have no solution but to pray in the fitting rooms of the shops, or sometimes in the nursing rooms where mums change the nappies for their babies. The problem is that sometimes these nursing rooms have a special section (a corner in the room) where there is a toilet for children. Is it OK to pray there away from the toilet, or is it still considered a "Najis" place? Also can a muslim woman pray in an open park or car parking? I do not feel shy about my religion and I do not care about people seeing me, but I sometimes feel shy when non-muslims stand and stare as if you are doing a show! I am also worried that it could be haraam for a muslim woman to pray in front of men.We try to avoid these situations as much as we can, but sometimes we cannot. What should a sister do in these situations?
(There may be some grammatical and spelling errors in the above statement. The forum does not change anything from questions, comments and statements received from our readers for circulation in confidentiality.)
Check below answers in case you are looking for other related questions:

Answer:
Praise be to Allaah.

It was narrated from the Prophet (peace and blessings of Allaah be upon him) that it is haraam to pray in certain places, including bathrooms. It is not permissible to pray in them. It was narrated in a saheeh report from the Prophet (peace and blessings of Allaah be upon him) that he said: “All the earth is a mosque except for graveyards and bathrooms.” (Narrated by al-Tirmidhi, al-Salaah, 291; classed as saheeh by al-Albaani in Saheeh Sunan al-Tirmidhi, 262). “Bathroom” refers to every place that is used for the purpose of relieving oneself; it is not permissible to pray in any such place. This room on the edge of which there is a toilet is not considered to be a bathroom so long as there is a barrier between it and the bathroom, with a wall and door etc. In this case prayer in that room is valid, because the prohibition on praying in bathrooms is because they are usually naajis (impure), and this room is not like that. And Allaah knows best. 

What indicates that prayer in this place and elsewhere is valid is the hadeeth in which the Prophet (peace and blessings of Allaah be upon him) said: “The earth has been made a place of prayer and a means of purification for me, so wherever a man is when the time for prayer comes, let him pray.” (Narrated by al-Bukhaari, al-Tayammum, 323). So prayer in that place is valid, and it is also valid in parks and parking lots, on condition that the place in which one prays is taahir (pure, clean). 

Shaykh Ibn Baaz (may Allaah have mercy on him) was asked, if there is a bathroom in front of a person in the direction of the qiblah, is it o.k. to pray facing it? He said: The prayer is valid and there is nothing wrong with that, rather what is forbidden is to pray inside the bathroom. 

See Fataawa al-Shaykh Ibn Baaz, vol. 2, p. 196. 

One thing to which attention must be paid is that a woman should uncover her face when praying, especially when she is among other women or her mahrams. But if she is praying in a place where men can see her, then she should cover her face whilst praying. See the answer to question no. 21803

Secondly: you will be rewarded, in sha Allah, for your keenness to do the prayers on time. Undoubtedly the Muslim is obliged to do the prayers on time. And you have to make yourself feel that you are obeying Allaah when you are praying. 

Your adherence to the truth and your establishing prayer and not feeling shy to worship openly may be the means of guiding some of the non-Muslims who see you to Islam, in which case you will have a reward equal to theirs in sha Allaah. 

May Allaah help us and you to do all that is good.

Whatever written of Truth and benefit is only due to Allah's Assistance and Guidance, and whatever of error is of me. Allah Alone Knows Best and He is the Only Source of Strength.

Related Answers:

Recommended answers for you: