The preferential order of where I’tikaf should be performed is Masjidul Haram...
The preferential order of where I’tikaf should be performed is Masjidul Haram, Masjid an-Nabi (blessings of Allah be upon him and his family), Masjid Kufa and then the Masjid of Basrah – after these, then any other “Central” and “Congregational” Masjid is permissible to perform the I’tikaf in.
By stating this, it clearly means that in places like the traditional Hussainiyah or Imambargah and other places such as this, it is not correct to perform the I’tikaf– this act is limited to the four mentioned Masajid and then the Central Masjid of a city. Based on this ruling, although the scholars permit I’tikaf in these other buildings (which are not proper Masjid), however, the specific rulings of I’tikaf would not hold in other such venues.
If one was to perform I’tikaf in any place other than the “Central Masjid”, then he would need to do so with the intention that this act would bring him closer to Allah (Glory and Greatness be to Him) and that he is hoping for a reward in this act (of being done outside of a proper Masjid as per the Islamic legislations).
Therefore, if there are three or four Masjids in one city since they are not of the four Masjids in which I’tikaf can be performed (with that special intention), the people may use all of them for the program of I’tikaf.
The meaning of the Central or Congregational Masjid is that which a majority of the people frequent (other than this Masjid would be those referred to with names such as the Masjid of the market, the Masjid of a School, the Masjid inside a factory, etc…) and it is not permissible to perform the I’tikaf in these places.
The courtyards and entrances of the Masjid are not considered as a part of the Masjid except in the case that they are recognized and known (by others) to be an actual part of the Masjid. If a person doubts if the place in which he is, is actually a Masjid or not, then according to the rules, he is not permitted to perform I’tikaf there until he ascertains and has certainty that the place where he is truly a part of the Masjid.
Prohibited Acts During I’tikaf The prohibited acts during the state of I’tikaf include: Applying perfume and smelling perfume with the intention of deriving pleasure. This act makes I’tikaf null and void and is also a sin. Discussions and arguments both in relation to the world and the faith. This means that a person argues with another to prove that he is better or smarter or that he knows more, etc … .