Abdullah bin Umar reported,

Zayd bin Amr bin Nufayl set out for Syria seeking and inquiring about religion to follow. He met a Jewish scholar and asked him about their religion, saying, "I may well embrace your religion, so tell me about it."The scholar replied, "You cannot follow our religion unless you take your share of Allah's wrath."Zayd said, "It is from Allah's wrath that I am fleeing. I will never bear any portion of Allah's wrath, and how could I endure it? Can you guide me to something else?"The scholar said, "I know of nothing except that you become a Hanif."Zayd asked, "And what is a Hanif?"He answered, "The religion of Ibrahim. He was neither a Jew nor a Christian, and he worshipped none but Allah."So Zayd departed and met a Christian scholar, and mentioned the same thing to him.The Christian said, "You cannot follow our religion unless you take your share of Allah's curse."Zayd replied, "It is from Allah's curse that I am fleeing. I will never bear any portion of Allah's curse or His wrath, and how could I endure it? Can you guide me to something else?"He said, "I know of nothing except that you become a Hanif."Zayd asked, "And what is a Hanif?"He answered, "The religion of Ibrahim. He was neither a Jew nor a Christian, and he worshipped none but Allah."When Zayd heard what they said about Ibrahim عليه السلام, he left. Once he was out in the open, he raised his hands and said, "O Allah, I bear witness that I am upon the religion of Ibrahim."

Azami 8549

Sahih

عن ابن عمر

- أن زيد بن عمرو بن نفيل خرج إلى الشام يسأل عن الدين ويتبعه، فلقي عالما من اليهود فسأله عن دينهم فقال: إني لعلي أن أدين دينكم فأخبرني. فقال: لا تكون على ديننا حتى تأخذ بنصيبك من غضب الله. قال زيد: ما أفر إلا من غضب الله، ولا أحمل من غضب الله شيئا أبدا وأنى أستطيعه؟ فهل تدلني على غيره؟ قال: ما أعلمه إلا أن يكون حنيفا. قال زيد: وما الحنيف؟ قال: دين إبراهيم، لم يكن يهوديا ولا نصرانيا ولا يعبد إلا الله فخرج زيد فلقي عالما من النصارى، فذكر مثله فقال: لن تكون على ديننا حتى تأخذ بنصيبك من لعنة الله. قال: ما أفر إلا من لعنة الله، ولا أحمل من لعنة الله ولا من غضبه شيئا أبدا، وأنى أستطيع؟ فهل تدلني على غيره؟ قال: ما أعلمه إلا أن يكون حنيفا. قال: وما الحنيف؟ قال: دين إبراهيم، لم يكن يهوديا ولا نصرانيا ولا يعبد إلا الله. فلما رأى زيد قولهم في إبراهيم عليه السلام خرج، فلما برز رفع يديه فقال: اللهم إني أشهد أني على دين إبراهيم.

الأعظمي 8549صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Mission of the Prophet ﷺ and his life in Makkah
Section
Zayd bin Amr bin Nufayl was upon the religion of Ibrahim عليه السلام
Numbering
Jami al-Kamil 8549 (2nd edition)
Azami 8549