Sahih al-Bukhari 3534
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَثَلِي وَمَثَلُ الأَنْبِيَاءِ كَرَجُلٍ بَنَى دَارًا فَأَكْمَلَهَا وَأَحْسَنَهَا، إِلاَّ مَوْضِعَ لَبِنَةٍ، فَجَعَلَ النَّاسُ يَدْخُلُونَهَا وَيَتَعَجَّبُونَ، وَيَقُولُونَ لَوْلاَ مَوْضِعُ اللَّبِنَةِ "
Narrated Jabir bin `Abdullah:
The Prophet (ﷺ) said, "My similitude in comparison with the other prophets is that of a man who has built a house completely and excellently except for a place of one brick. When the people enter the house, they admire its beauty and say: 'But for the place of this brick (how splendid the house will be)!"
Full reference and source
Sahih al-Bukhari 3534 In-book : Book 61, Hadith 43 USC-MSA web (English) : Vol. 4, Book 56, Hadith 734 (deprecated)
View source on Sunnah.com (opens in a new tab)