(74) باب مَنْ لَمْ يَرَ إِكْفَارَ مَنْ قَالَ ذَلِكَ مُتَأَوِّلاً أَوْ جَاهِلاً
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)
Reference: Sahih al-Bukhari 6107
In-book reference: Book 78, Hadith 134
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 73, Hadith 128