I‘tikaf is staying in the mosque with the intention of I‘tikaf. It is fulfilled by remaining in the mosque for a period that qualifies as devotion or seclusion (I‘tikaf). It is recommended (Sunnah) for anyone entering the mosque to intend I‘tikaf as long as they remain inside.