Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: "Allah admonishes you never to return to the like of it, if you are believers" [Surah An-Nur: 17]: this refers to Mistah bin Uthathah, Hamnah bint Jahsh and Hassan bin Thabit. "If you are believers" [Surah Al-Baqarah: 91], meaning if you affirm the truth of Allah and His Messenger.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 19509
Ibn Abbas (may Allah be pleased with them both) said concerning this verse: "Allah admonishes you never to return to the like of it" [Surah An-Nur: 17].
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 19512