It is narrated from Sayyiduna Ka'b bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you feels pain, let him place his hand on the place of the pain, then recite this supplication seven times: 'A'udhu bi-'izzatillahi wa qudratihi min kulli shay'in mimma ajid' (I seek refuge in the might of Allah and His power from the evil of everything that I feel)." Imam Ahmad bin Mani' and Imam Ahmad bin Hanbal have also narrated it through Amr bin Ka'b bin Malik from his father (Sayyiduna Ka'b bin Malik (may Allah be pleased with him)), that the Messenger of Allah (peace and blessings be upon him) said: "When one of you feels pain, let him place his hand where he feels the pain, then say seven times: 'A'udhu bi-'izzatillahi wa qudratihi 'ala kulli shay'in min sharri ma ajidu wa uhadhir' (I seek refuge in the might of Allah and His power over everything from the evil of what I feel and what I fear)." This hadith has a supporting narration (shahid) in the narration of Sayyiduna Uthman bin Abi al-As (may Allah be pleased with him), that he complained to the Messenger of Allah (peace and blessings be upon him) of a pain that he had felt in his body since the time he accepted Islam, and the Messenger of Allah (peace and blessings be upon him) said: "Place your hand on the part of your body where there is pain and say 'Bismillah' three times, then say seven times: 'A'udhu billahi wa qudratihi min sharri ma ajidu wa uhadhir' (I seek refuge in Allah and His power from the evil of what I find and what I fear)." This narration was narrated by Imam Malik, Muslim, Abu Dawud, al-Tirmidhi and al-Nasa'i. The words of Imam Malik's narration are: 'A'udhu bi-'izzatillahi wa qudratihi min sharri ma ajid' (I seek refuge in the might of Allah and His power from the evil of what I feel). Sayyiduna Uthman (may Allah be pleased with him) says: I did so, and Allah Almighty removed that pain of mine, so I have kept on instructing my family and others to do it. With Abu Dawud and al-Tirmidhi it is likewise, and at the beginning of their narration it is that (Sayyiduna Uthman (may Allah be pleased with him) said): "The Messenger of Allah (peace and blessings be upon him) came to me while I had a pain that had brought me close to death, and the Messenger of Allah (peace and blessings be upon him) said: Wipe (the place of pain) with your right hand seven times and say: 'A'udhu bi-'izzatillah' (I seek refuge in the might of Allah)" (the complete hadith). Also, Imam al-Hakim has narrated it in al-Mustadrak from the hadith of Sayyiduna Anas bin Malik (may Allah be pleased with him).
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف أبي معشر نجيح السندي، وله شاهد في صحيح مسلم من حديث عثمان بن أبي العاص
Hadith Takhrij«أبو معشر نجيح بن عبد الرحمن السندي: ضعيف أسن واختلط (التقريب، من الحفظ)؛ وابن كعب مبهم هنا وسُمي عمرًا في رواية أحمد بن منيع» «(3927/1) أخرجه مسند أحمد برقم: 26638، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 8466» «(3927/2) أخرجه سنن الترمذي برقم: 2080، وأخرجه سنن أبي داود برقم: 3891، وأخرجه سنن ابن ماجه برقم: 3522، وأخرجه مسند أحمد برقم: 15834، 17449، 15840، 26638، وأخرجه موطأ مالك برقم: 1754، وأخرجه فتح الباري برقم: 4178، وأخرجه المستدرك على الصحيحين برقم: 1311، وأخرجه المعجم الكبير للطبراني برقم: 8340، 8341، 8342، 8343، وأخرجه صحيح ابن حبان برقم: 2964، 2967، وأخرجه رياض الصالحين برقم: 944، وأخرجه السنن الكبرى للنسائي برقم: 8016، 11065، 11066، وأخرجه شرح السنة برقم: 1416، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 8466»