One of the most salient passages in the Qur’an is 2:106, which shows us the basis for the doctrine of abrogation:
“We do not abrogate a verse or cause it to be forgotten except when we bring forth one better than earlier or similar verse. Do you not know that Allah is over all things competent?”