Ibn Abbas R.A. relates that Rasulullah S.W. said, “The person performing I’itikaaf remains free from sins, and he is indeed given the same reward as those who do righteous deeds (in spite of not having done those deeds as a result of having been secluded in the musjid)”. Reported in Mishkaat from Ibn Majah
(Note that one remaining secluded in the musjid is not allowed to depart from there for worldly needs. He may only set forth to the outside for the calls of nature, to perform ablution or ghusl or for attending Jumu-ah when that is not performed in the same musjid, after which he must return forthwith). Now this Hadith points to two great benefits of I’itikaaf.