I heard the Messenger of Allah ﷺ say, "I am the closest of people to the son of Maryam. The prophets are brothers from one father with different mothers, and there is no prophet between him and me."
سمعت رسول الله ﷺ يقول: أنا أولى الناس بابن مريم، والأنبياء علات، ليس بيني وبينه نبي.
Bukhari narrated it in the Chapters on the Prophets (3442), and Muslim in the Book of Virtues (2365), both from the hadith of Zuhri, who said, Abu Salama bin Abdul-Rahman informed me that Abu Hurairah mentioned it.