Qur'an 24:8
وَيَدْرَؤُا۟ عَنْهَا ٱلْعَذَابَ أَن تَشْهَدَ أَرْبَعَ شَهَـٰدَٰتٍۭ بِٱللَّهِ ۙ إِنَّهُۥ لَمِنَ ٱلْكَـٰذِبِينَ
“But it will prevent punishment from her if she gives four testimonies [swearing] by Allāh that indeed, he is of the liars.”
An-Noor 24:8 · Saheeh International