It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you complains (of an illness or pain), let him place his hand on the place of the pain, then let him say: 'In the name of Allah and with the help of Allah; I seek refuge in the might of Allah and His power from the evil of this pain of mine.'"
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you feels any pain, let him place his hand on the place where it hurts, then let him say: 'In the name of Allah and with the help of Allah; I seek refuge in the might of Allah and His power from the evil of this pain of mine.'"
Imam al-Tirmidhi (may Allah have mercy on him) narrated something similar from Abd al-Warith bin Abd al-Samad, he from his father, and he from Muhammad bin Salim, and he said: "This hadith is hasan gharib through this chain."
Imam Abu Hatim al-Razi (may Allah have mercy on him) was asked about Muhammad bin Salim al-Basri and said: "There is no harm in him."