Hadithcore
Riyad as-Salihin, 1807

Abu Hurairah (May Allah be pleased with him) said:

The Prophet (ﷺ) said, "He who takes an oath and involuntarily says: 'By Al-Lat and Al-'Uzza' should at once affirm: 'La ilaha illallah (there is no true god except Allah)', and he who says to his companion: 'Come let's gamble' should make expiation by giving something in charity." <b>[Al-Bukhari and Muslim]</b>.

وعن أبي هريرة رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ “من حلف فقال في حلفه‏:‏ باللات والعزى، فليقل‏:‏ لا إله إلا الله، ومن قال لصاحبه‏:‏ تعالى أقامرك فليتصدق‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 17, Hadith 297
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) The remedy for something lies in its opposite. So, whoever takes an oath of polytheism should say the word of monotheism to correct his error. Likewise, whoever commits a sin can cure it by performing an act of obedience.<br> 2) Good deeds blot out evil ones. A fortunate believer would follow evil deeds with good ones to preserve his faith and the soundness of his heart.
Related hadiths5
Compare isnād across 5 related chains →