Sunan an-Nasa'i, Book 35, Hadith 16 (In-Book)

It was narrated from Mus'ab bin Sa'd that his father said: "We were talking about something, and I had only recently left Jahiliyyah behind, so I swore by Al-Lat and Al-'Uzza. The Companions of the Messenger of Allah said to me: 'What a bad thing you have said! Go to the Messenger of Allah and tell him, for we think that you have committed Kufr.' So I went to him and told him, and he said to me: 'Say: La ilaha illallah wahdahu la sharika lah (There is none worthy of worship except Allah alone, without partner) three times, and seek refuge with Allah from the Shaitan three times, and spit dryly to your left three times, and do not say that again.'"

أَخْبَرَنَا أَبُو دَاوُدَ، قَالَ حَدَّثَنَا الْحَسَنُ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا زُهَيْرٌ، قَالَ حَدَّثَنَا أَبُو إِسْحَاقَ، عَنْ مُصْعَبِ بْنِ سَعْدٍ، عَنْ أَبِيهِ، قَالَ كُنَّا نَذْكُرُ بَعْضَ الأَمْرِ وَأَنَا حَدِيثُ، عَهْدٍ بِالْجَاهِلِيَّةِ فَحَلَفْتُ بِاللاَّتِ وَالْعُزَّى فَقَالَ لِي أَصْحَابُ رَسُولِ اللَّهِ صلى الله عليه وسلم بِئْسَ مَا قُلْتَ ائْتِ رَسُولَ اللَّهِ صلى الله عليه وسلم فَأَخْبِرْهُ فَإِنَّا لاَ نَرَاكَ إِلاَّ قَدْ كَفَرْتَ فَأَتَيْتُهُ فَأَخْبَرْتُهُ فَقَالَ لِي ‏ "‏ قُلْ لاَ إِلَهَ إِلاَّ اللَّهُ وَحْدَهُ لاَ شَرِيكَ لَهُ ثَلاَثَ مَرَّاتٍ وَتَعَوَّذْ بِاللَّهِ مِنَ الشَّيْطَانِ ثَلاَثَ مَرَّاتٍ وَاتْفُلْ عَنْ يَسَارِكَ ثَلاَثَ مَرَّاتٍ وَلاَ تَعُدْ لَهُ ‏" ‏ ‏.‏

sunnah.com