Hadith
Imam Sadiq (a.s) said:
 مَن نظَرَ الى الكَعبَةِ لم يَزَلْ تُكتَبُ لهُ حَسَنَةٌ وتُمحَى عنهُ سَيِّئَةٌ حَتّى يَنصَرفَ بَبَصَرِهِ عنهَا
Whoever looks at the Kaaba, rewards are written for him and his wrongdoings are written off until he takes his look away from it.See al-Kafi; Vol. 4