Umar passed by Hassan while he was reciting poetry in the mosque and gave him a stern look.Hassan said, "I used to recite poetry here when one better than you was present."Then he turned to Abu Hurairah and asked, "Did you hear the Messenger of Allah ﷺ say, 'Answer them on my behalf. O Allah, support him with the Holy Spirit'?"He replied, "Yes."
حدثنا سفيان بن عيينة عن الزهري
مر عمر رضي الله عنه بحسان وهو ينشد في المسجد فلحظ إليه قال كنت أنشد وفيه من هو خير منك ثم التفت إلى أبي هريرة فقال سمعت رسول الله ﷺ يقول أجب عني اللهم أيده بروح القدس قال نعم
Its isnad is sahih, and it is found in Bukhari with his isnad, and its wording is at 1/548 no. 453, and 6/403 no. 32, and 10/546 no. 6152 of Fath, and in Muslim 4/1932 no. 2485 with its wording and isnad as well. It has already appeared with similar wording at 18584, 18063, 18435, and 18545.