Sayyidinā Ibn Abbās (r.a) relates that Rasūlullah صلى الله عليه و سلم said: “The person performing I’tikāf remains free from sins, and he is indeed given the same reward as those who do righteous deeds (in spite of not having done these deeds) as a result of having been secluded in the Masjid.” (Ibn Mājāh)