Sunnah.com : Book 18, Hadith 297
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن أبي هريرة رضي الله عنه عن النبي صلى الله عليه وسلم قال: “من حلف فقال في حلفه: باللات والعزى، فليقل: لا إله إلا الله، ومن قال لصاحبه: تعالى أقامرك فليتصدق ((متفق عليه))."
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." [Al-Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 18, Hadith 297 Arabic/English book : Book 18, Hadith 1807
View source on Sunnah.com (opens in a new tab)