Rujuk FatwaMalaysian fatwa reference
BM

FatwaFederal TerritoriesPrayer (Salah)

IRSYAD HUKUM SIRI KE-493 : ADAKAH SOLAT MASIH SAH SEKIRANYA MEMIKIRKAN PERKARA HARAM KETIKA MENUNAIKANNYA?

Is a prayer still valid if a person thinks about forbidden matters while performing it?

Short answer

The prayer remains valid when a person thinks about something during it, whether briefly or at length and whether the matter is permissible or forbidden, as long as no pillar of the prayer is omitted.

Federal TerritoriesOpinion (irsyad)

A reference, not a fatwa. First sentence of the summary below — read the original fatwa and consult your state authority before acting.

Authority
Federal Territories Mufti Office
Date
Status
Opinion (irsyad)
Series
Irsyad al-Hukum (Umum)
Topic
Prayer (Salah)

No evidence of gazettement in the source — this is not a gazetted fatwa.

Summary

The prayer remains valid when a person thinks about something during it, whether briefly or at length and whether the matter is permissible or forbidden, as long as no pillar of the prayer is omitted. The act is disliked (makruh) and should be avoided as much as possible, especially when the thoughts concern forbidden matters. The prayer is invalidated only if something that nullifies it occurs, such as the emission of madhy caused by the daydreaming. Presence of heart and khushu are recommended in prayer.

Written in our own words from the original fatwa — check the source before acting on it.

kami cenderung kepada pendapat bahawa seseorang yang memikirkan sesuatu di dalam solatnya, sama ada perkara tersebut banyak atau sedikit, harus atau haram, tidaklah membatalkan solatnya selagimana tidak meninggalkan rukun-rukun solat.

Excerpt from the original fatwa · Federal Territories

Read the full fatwa on the Federal Territories website (new tab)

How to cite

Cite the original fatwa and its authority. Rujuk Fatwa is only where you found it.

Federal Territories Mufti Office. “IRSYAD HUKUM SIRI KE-493 : ADAKAH SOLAT MASIH SAH SEKIRANYA MEMIKIRKAN PERKARA HARAM KETIKA MENUNAIKANNYA?”, 14 April 2020. https://muftiwp.gov.my/ms/artikel/irsyad-hukum/umum/4432-irsyad-al-fatwa-siri-ke-493-adakah-solat-masih-sah-sekiranya-memikirkan-perkara-haram-ketika-menunaikannya. Found via Rujuk Fatwa: https://rujukfatwa.com/en/fatwa/prayer-valid-thinking-forbidden-matters/

Local graph

This fatwa and its nearest connections. The full lists are below.

See it on the full map

Evidence cited

Quran verses

  • Al-Mu'minun 23:1
  • Al-Mu'minun 23:2

Hadith

  • Bukhari 1221
  • Bukhari 5269

Books

  • Fath al-Bari (Ibn Hajar al-Asqalani)
  • al-Majmu' Syarh al-Muhazzab (al-Nawawi)
  • Tafsir al-Qurtubi (al-Jami' li Ahkam al-Quran)