Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever among you swears an oath and says in his oath, 'By al-Lat and al-Uzza,' let him say, 'There is no god but Allah.' And whoever says to his companion, 'Come, let me gamble with you,' let him give in charity."

Azami 11277

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: من حلف منكم فقال في حلفه: باللات والعزى فليقل: لا إله إلا الله ومن قال لصاحبه: تعال أقامرك فليتصدق.

الأعظمي 11277صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for various occasions
Section
Whoever swears by other than Allah
Numbering
Jami al-Kamil 11277 (2nd edition)
Azami 11277