Seclusion in the mosque to draw closer to Allāh, seeking His mercy and forgiveness
Allāh taʿālā says:
This verse proves the legitimacy of iʿtikāf and implies staying in the mosque, refraining from marital relations, and respecting the boundaries set by Allāh.
The Prophet ﷺ used to perform iʿtikāf during the last ten days of Ramaḍān until he passed away, and his wives observed it after him. (Bukhārī, Muslim)
The Prophet ﷺ would not leave the mosque during iʿtikāf except for a necessary human need. (Bukhārī, Muslim)
“...while you are in iʿtikāf in the mosques.” (2:187) – This verse is the primary evidence for the obligation of staying in the mosque and the prohibition of marital relations during iʿtikāf.
This shows the continuity of the practice and its high status.
Proof that leaving for genuine needs is permissible, but otherwise must remain.
Your sadaqah helps maintain the mosque, provide iftar, and support iʿtikāf programs.