Al-Adab Al-Mufrad, Book 54, Hadith 1262 (English) ⓘ
Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "If any of you makes an oath and swears in his oath by al-Lat and al-'Uzza should say, 'There is no god but Allah.' If any of you tells him companion, 'Come on, I will make a bet with you' should give sadaqa."
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، قَالَ: حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي حُمَيْدُ بْنُ عَبْدِ الرَّحْمَنِ، أَنَّ أَبَا هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللهِ صلى الله عليه وسلم: مَنْ حَلَفَ مِنْكُمْ فَقَالَ فِي حَلِفِهِ: بِاللاَّتِ وَالْعُزَّى، فَلْيَقُلْ: لاَ إِلَهَ إِلاَّ اللَّهُ، وَمَنْ قَالَ لِصَاحِبِهِ: تَعَالَ أُقَامِرْكَ، فَلْيَتَصَدَّقْ.
also referenced under: Hadith 1262 (Reference) & Book 54, Hadith 4 (In-Book)