It has been narrated from al-Baqir [Imam Muhammad Ibn Ali] (peace be upon him) that: "As long as a person is looking at the Kaaba, good deeds will be written (in his record) and one's evil deeds will be erased until one turns away one's glance (from the Kaaba)."