Jabir bin Abdullah (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "My example and the example of the prophets before me is like that of a man who built a house, made it very beautiful and completed it except for the place of one brick. People began entering it, marvelling at it and saying: Why has the place of this brick not been filled?" The Messenger of Allah (peace and blessings be upon him) said: "So I am (in) the place of that brick. I came, and with me the chain of the prophets has been sealed."
Imam al-Shafi'i (may Allah have mercy on him) said: It is the decree of Allah Almighty that He will make this religion prevail over all religions, as the Exalted Lord says: "It is He who sent His Messenger with guidance and the religion of truth, to make it prevail over all religions" [Surah al-Tawbah: 33]. And the Imam has explained the manner of its prevailing elsewhere.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17719