Sahih al-Bukhari 6107
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ حَلَفَ مِنْكُمْ فَقَالَ فِي حَلِفِهِ بِاللاَّتِ وَالْعُزَّى. فَلْيَقُلْ لاَ إِلَهَ إِلاَّ اللَّهُ. وَمَنْ قَالَ لِصَاحِبِهِ تَعَالَ أُقَامِرْكَ، فَلْيَتَصَدَّقْ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said: "Whoever amongst you swears, (saying by error) in his oath 'By Al-Lat and Al- Uzza', then he should say, 'None has the right to be worshipped but Allah.' And whoever says to his companions, 'Come let me gamble' with you, then he must give something in charity (as an expiation for such a sin)." (See Hadith No. 645)
Full reference and source
Sahih al-Bukhari 6107 In-book : Book 78, Hadith 134 USC-MSA web (English) : Vol. 8, Book 73, Hadith 128 (deprecated)
View source on Sunnah.com (opens in a new tab)