Verily Allah forgave my people the evil promptings which arise within their hearts as long as they did not speak about them or did not act upon them.
Sahih Muslim Book 1, Hadith 238