Sahih al-Bukhari, Book 64, Hadith 168 (Bukhari 3952)

Al-Bara' bin `Azib said (through another chain of sub-narrators):

"On the day of Quraiza's (siege), Allah's Messenger (ﷺ) said to Hassan bin Thabit, 'Abuse them (with your poems), and Jibril is with you.'"