From Sahih Bukhari (Hadith 4124):
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
Reference: Bukhari 4124