Itikaf Masjid Boundaries
One should spend more of one’s time within the mosque. However since it is a Nafal prayer therefore there are not hard rules defined for it. The restrictions generally assumed have no basis.
Any activity that violates the spirit of Itikaf, which is worshiping with dedication in seclution, should be avoided.