From Sahih Bukhari (Hadith 3534):
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)
Reference: Bukhari 3534