Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Whomever takes an oath in which he mentions Lat and `Uzza (forgetfully), should say: None has the right to be worshipped but Allah, and whoever says to his companion. 'Come along, let us gamble must give alms (as an expiation).
USC-MSA web (English) reference: Vol. 6, Book 60, Hadith 383
Arabic reference: Book 65, Hadith 4860