Al-Baqarah 2:182
فَمَنْ خَافَ مِن مُّوصٍ جَنَفًا أَوْ إِثْمًا فَأَصْلَحَ بَيْنَهُمْ فَلَآ إِثْمَ عَلَيْهِ ۚ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
Faman khafa min moosinjanafan aw ithman faaslaha baynahum falaithma AAalayhi inna Allaha ghafoorun raheem
But if one fears from the bequeather [some] error or sin and corrects that which is between them [i.e., the concerned parties], there is no sin upon him. Indeed, Allāh is Forgiving and Merciful.
But, whoever apprehends a mistake (unintentional) or a sin (intentional) from a testator, and puts things right between them, then there is no sin on him. Surely, Allah is Forgiving, Merciful.