24-Surah An-Noor ( The Light ) 8
But it will prevent punishment from her if she gives four testimonies [swearing] by Allah that indeed, he is of the liars.
وَيَدْرَأُ عَنْهَا الْعَذَابَ أَن تَشْهَدَ أَرْبَعَ شَهَادَاتٍ بِاللَّهِ ۙ إِنَّهُ لَمِنَ الْكَاذِبِينَ
Quran's Tafhim ( explanation)