Battle of Hunayn
When they had the chance to talk, they reminded him of their comradeship in arms (in the Battle of Hunayn) and offered to recite some poems to Muhammad and contest against Muhammad's own poets.