Sunan an-Nasa'i 3775
It was narrated that Abu Hurairah said:
"The Messenger of Allah said: 'Whoever among you swears and says: By Al-Lat, let him say: La ilaha illallah (There is none worthy of worship except Allah). And whoever says to his companion: Come, let us gamble, then let him give in charity.'"
أَخْبَرَنَا كَثِيرُ بْنُ عُبَيْدٍ، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ، عَنِ الزُّبَيْدِيِّ، عَنِ الزُّهْرِيِّ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ مَنْ حَلَفَ مِنْكُمْ فَقَالَ بِاللاَّتِ فَلْيَقُلْ لاَ إِلَهَ إِلاَّ اللَّهُ وَمَنْ قَالَ لِصَاحِبِهِ تَعَالَ أُقَامِرْكَ فَلْيَتَصَدَّقْ ‏"‏ ‏.‏