English Translation of Hadith
Hazrat Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah [SAWW](PBUH) said, "He who takes an oath and involuntarily says: `By Al-Lat and Al-`Uzza’ should at once affirm: `La ilaha illallah (there is no true god except Allah)’, and he who says to his companion: `Come let’s gamble’ should make expiation by giving something in charity.”
[Al-Bukhari Hadith # 4860 and Muslim Hadith # 1647].
Lesson: as mentioned above in Surah Al- Ankabut Ayat 65 “they invoke Allah, making their Faith pure for Him only” and Surah Al-Araaf Ayat 197. "And those whom you call upon besides Him (Allah)" Al-Lat and Al-`Uzza were the idols of the polytheists of Arabia. To take oath or swear by them or by anything else besides Allah is an act of disbelief which takes one out of the fold of religion.