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 remove poison, or hung an amulet around my neck, or composed a verse of poetry on my own, then I would not care what I commit (that is, I would be among those who do not care about sin).
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6565
Hadith Gradingحکم دارالسلام:إسناده ضعيف، لضعف عبد الرحمن بن رافع التنوخي