Sayyiduna Abu Hurayrah (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) said: "Whoever among you swears and uses the names of al-Lat and al-Uzza in his oath, let him say: 'La ilaha illallah' (There is no god but Allah). And whoever says to his companion: Come, let us gamble, let him give charity."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19833