I said, "Messenger of Allah, I am a young man and I fear falling into sin, yet I cannot afford to marry."He remained silent. Then I said the same again, and he remained silent. Then I said the same again, and he remained silent. Then I said the same again.The Prophet ﷺ said, "Abu Hurayrah, the pen has dried with what you are destined to encounter, so castrate yourself if you wish, or leave it."
قلت يا رسول الله إني رجل شاب، وأنا أخاف على نفسي العنت ولا أجد ما أتزوج به النساء، فسكت عني، ثم قلت مثل ذلك، فسكت عني، ثم قلت له مثل ذلك، فسكت عني. ثم قلت مثل ذلك. فقال النبي ﷺ: يا أبا هريرة جف القلم بما أنت لاق، فاختص على ذلك أو ذر.
Bukhari narrated it in the Book of Marriage (5076), saying, "Asbagh said, Ibn Wahb informed me, from Yunus bin Yazid, from Ibn Shihab, from Abu Salama, from Abu Hurairah, who said..." (then he mentioned it).Asbagh is Ibn Faraj Qurashi Umawi, Abu Abdullah Misri, the jurist, one of Bukhari's teachers. Bukhari's phrase "Asbagh said" is taken to indicate a connected chain, according to the view of Ibn Salah and others, and this is the view we prefer.Hafiz said in Fath al-Bari (9/119), "His statement 'Asbagh said' appears this way in all the narrations I have come across. But the wording of Abu Naeem in Mustakhraj suggests that he said therein, 'he narrated to us.'"