From Sahih Muslim (Hadith 4260):
Abu Huraira reported Allah's Messenger (ﷺ) as saying:He who takes an oath in the course of which he says: By Lat (and al-'Uzza), he should say: There is no god but Allah; and that if anyone says to his friend:" Come and I will gamble with you," he should pay sadaqa
Reference: Muslim 4260