Pardon before reaching the court
If the slanderer is pardoned before the case reaches the court, the hadd punishment for slander (qadhf) is dropped, as the hadith mentioned earlier shows, where the Messenger of Allah ﷺ said:
هلا كان قبل أن تاتيني به
“Why did you not do this before bringing him to me?”
[Sahih: Sahih Abi Dawud: 3693, Kitab al-Hudud: Bab fiman saraqa min hirz, Abu Dawud: 4394]