It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) used to teach them this supplication for all pains and for fever: "In the name of Allah, the Great. I seek refuge in Allah, the Mighty, from the evil of every vein that gushes forth vigorously, and from the evil of the heat of the Fire."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11514