If a person in I’tikaf has a wet dream and needs to perform a Ghusl...
If a person in I’tikaf has a wet dream and needs to perform a Ghusl, however, it is not possible to do this in the Masjid (or its compound), it is obviously obligatory for him to leave the Masjid and his I’tikaf will be considered null and void. The same rule applies to sisters who are not able to stay inside the Masjid due to their monthly cycle since they are not permitted to stay inside a Masjid, they too must immediately leave the Masjid and for them too, their I’tikaf is null and void.
According to obligatory precaution, if a person leaves the Masjid for a necessity, he must choose the shortest and closest route to leave and return by and it is obligatory that he does not keep himself out of the Masjid for more than the needed time period. It is also obligatory that he does not sit underneath an area that shades him. Rather, according to precaution, it is not permitted for him to sit outside of the Masjid except for cases of necessity.
If the person performing I’tikaf leaves the Masjid in order to complete a necessity upon him, and the time period which he leaves the Masjid for is a very long one such that people would doubt or not consider him being in a state of I’tikaf, then his I’tikaf would be null and void. Penitence for Breaking the Rules of the I’tikaf In some instances, if a person does one of the things which breaks his state of I’tikaf, he must offer penitence.
Some examples of this are mentioned as follows: If a person has sexual relations during the period of I’tikaf and I’tikaf was wajib for him to perform (due to a promise, oath, etc… which he made), then he must make up the I’tikaf by performing it properly at a later date. If a person performs one of the other things which makes I’tikaf void and his I’tikaf was obligatory (due to a promise, oath, etc… which he made), then he must finish the time remaining of I’tikaf and redo it later on.
If I’tikaf was not obligatory and if a person does something on the first day of I’tikaf then he must immediately come out of this state, however, if it is on the third day then he must finish the period remaining.
If a person performs one of the other things which makes the I’tikaf void and his I’tikaf was a recommended one and this happens after the second day, then he must redo the I’tikaf, later on, however, if it is before the end of the second day, then he has no responsibility on him to redo it.