And We did not send any messenger except to be obeyed by permission of Allāh. And if, when they wronged themselves, they had come to you, [O Muḥammad], and asked forgiveness of Allāh and the Messenger had asked forgiveness for them, they would have found Allāh Accepting of Repentance and Merciful.
Allah did not send any messenger except to be followed in what they instructed by Allah’s will and decree. If, when they wronged themselves by committing sins, they had come to you, O Messenger, confessing what they had done and regretting it, repenting from what they did, and if they had asked for forgiveness from Allah, and you had asked for forgiveness for them, they would have found Allah Forgiving and Compassionate with them.