Therefore it is said:
It is a point accepted by all religious communities that a prophet’s mission is not contingent upon those before him having announced his coming; prophethood stands on its own without such prior glad-tidings. Indeed, with Noah and Abraham—peace be upon them—we have no record of anyone who heralded them in advance, and the same holds true for most of the prophets who were raised up among the Children of Israel. They, too, were not preceded by explicit predictions, because they were not sent with a law that abrogated what came before, such as David, Isaiah, and others.
The claim of necessary foretelling is made only with regard to a messenger who comes to abrogate the law of his predecessors—just as the Messiah came abrogating certain rulings of the Torah, and likewise Muhammad (may Allah bless him and grant him peace).
On this point scholars—Muslim and otherwise—differ: must the coming abrogation have been announced beforehand? There are two opinions.
Muslims maintain that the legislation of the Torah and the Gospel was never intended as an open-ended law; it was limited in time, destined to remain in force only until the advent of Muhammad (may Allah bless him and grant him peace). Such legislation is comparable to a provisional ruling whose endpoint is unknown, like the divine command:
“Pardon and overlook until Allah brings His decision” (Q 2:109),
and His saying:
“Confine them in their homes until death takes them or Allah ordains a way for them” (Q 4:15).