The Prophet (ﷺ) said, "Allah forgives my followers those (evil deeds) their souls may…

Sahih al-Bukhari Book 83 Hadith 42

Sahih al-Bukhari #6664

Oaths and Vows 83:42

Narrated Abu Huraira:

The Prophet (ﷺ) said, "Allah forgives my followers those (evil deeds) their souls may whisper or suggest to them as long as they do not act (on it) or speak."

Chapter: If someone does something against his oath due to forgetfulness

Grade: Sahih