It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that he heard the Noble Prophet (peace and blessings be upon him) saying: If I have drunk an antidote to ward off poison, or hung an amulet around my neck, or composed a verse of poetry on my own, then I do not care about it.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7081
Hadith Gradingحکم دارالسلام:إسناده ضعيف، عبد الرحمن بن رافع التنوخي، قال البخاري: فى حديثه مناكير.