And We did not send any messenger except to be obeyed by permission of Allah . And if , when they wronged themselves , they had come to you , [ O Muhammad ] , and asked forgiveness of Allah and the Messenger had asked forgiveness for them , they would have found Allah Accepting of repentance and Merciful .