Medicine (Kitab Al-Tibb)
Dawud :: Book 28 : Hadith 3860
Narrated Abdullah ibn Amr ibn al-'As:
I heard the Apostle of Allah (peace_be_upon_him) say: If I drink an antidote, or tie an amulet, or compose poetry, I am the type who does not care what he does.