وَيَدْرَأُ عَنْهَا الْعَذَابَ أَن تَشْهَدَ أَرْبَعَ شَهَادَاتٍ بِاللَّهِ إِنَّهُ لَمِنَ الْكَاذِبِينَ
The punishment shall be averted from her by her testifying with four oaths [sworn] by Allah that he is indeed lying,
Agha Ali Puya Commentary
Commentary on Quran 24:8
[Pooya/Ali Commentary 24:8] (see commentary for verse 6)