Abu Hurairah reported,

The Messenger of Allah ﷺ said, "My example and the example of the prophets before me is like that of a man who built a house and made it beautiful and elegant, except for the place of one brick in a corner. People began to walk around it admiring it and saying, 'Why was this brick not placed?' I am that brick, and I am the seal of the prophets."

Azami 755

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: إن مثلي ومثل الأنبياء من قبلي، كمثل رجل بنى بيتا فأحسنه وأجمله إلا موضع لبنة من زاوية، فجعل الناس يطوفون به ويعجبون له ويقولون: هلا وضعت هذه اللبنة؟ قال: وأنا اللبنة، وأنا خاتم النبيين.

الأعظمي 755صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the Prophet ﷺ
Section
Obligation of believing that the Prophet ﷺ is the seal of the prophets and there is no prophet after him
Numbering
Jami al-Kamil 755 (2nd edition)
Azami 755