The Messenger of Allah ﷺ said, "My likeness and the likeness of the prophets before me is like that of a man who built a house, beautifying and perfecting it except for the place of one brick in a corner. People began circling around it and marveling at it, saying, 'Why did you not place this brick?'"He said, "I am that brick, and I am the seal of the prophets."
أن رسول الله ﷺ قال: إن مثلي ومثل الأنبياء من قبلي، كمثل رجل بنى بيتا فأحسنه وأجمله إلا موضع لبنة من زاوية، فجعل الناس يطوفون به ويعجبون له، ويقولون: هلا وضعت هذه اللبنة؟ قال: و أنا اللبنة، وأنا خاتم النبيين.
Bukhari narrated it in the Book of Virtues (3535), and Muslim in the Book of Merits (2286: 22), both of them from Qutayba bin Saeed, who said, Ismail bin Jafar narrated to us, from Abdullah bin Dinar, from Abu Salih, from Abu Hurairah, who mentioned it.