Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "My example and the example of the prophets before me is like a man who built a building, beautifying and perfecting it except for the place of one brick in one of its corners. People began to walk around it admiring it, saying, 'If only this brick had been put in place!' I am that brick, and I am the seal of the prophets."

Azami 757

Sahih

عن أبي سعيد قال

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

الأعظمي 757صحيح
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 757 (2nd edition)
Azami 757