BUKHARI 6301:
from Abū Hurayrah —
Messenger of Allah ﷺ said, "Whoever among you takes an oath wherein he says, 'By Al-Lat and Al-ʿUzza,' names of two Idols worshipped by the Pagans, he should say, 'None has the right to be worshipped but Allah; And whoever says to his friend, 'Come, let me gamble with you ! He should give something in charity. " (See Hadith No. 645)
البخاري ٦٣٠١:
عن ابو هريره —
قَالَ رَسُولُ اللَّهِ ﷺ مَنْ حَلَفَ مِنْكُمْ فَقَالَ فِي حَلِفِهِ بِاللاَّتِ وَالْعُزَّى فَلْيَقُلْ لاَ إِلَهَ إِلاَّ اللَّهُ وَمَنْ قَالَ لِصَاحِبِهِ تَعَالَ أُقَامِرْكَ فَلْيَتَصَدَّقْ
hadithunlocked.com