Islamic guidance emphasizes that prayer should be performed with humility, calmness, and full presence of heart, and that a worshipper may take reasonable means to achieve comfort that supports concentration.
Scholars explain that if a person lights a fire for warmth and prays while it is positioned in the direction of the prayer, the prayer remains valid according to the majority of scholars. However, some jurists considered it disliked to pray directly facing fire, as a precaution, since fire was worshipped by certain nations in the past — a matter of caution, not prohibition.
This dislike, they clarify, no longer applies when there is a genuine need, such as preventing harm, maintaining warmth, or monitoring the fire — especially for those working outdoors or at night.
Importantly, electric heaters are not considered fire in Islamic jurisprudence, and therefore do not fall under the classical rulings related to praying toward fire.
It is thus permissible to pray while an electric heater is placed in front of the worshipper during extreme cold, particularly if it helps achieve focus, comfort, and tranquility in prayer.
In essence, the validity of prayer remains intact, and the true aim is a heart present before God — for whatever aids devotion is closer to acceptance.



