It is narrated from Sayyiduna Anas (may Allah be pleased with him): "The Prophet (peace and blessings be upon him), while in the state of ihram, had cupping done on the top of his foot because of a sprain he (peace and blessings be upon him) had suffered."
Imam Abu Dawud al-Sijistani (may Allah have mercy on him) narrated it from Imam Ahmad bin Hanbal (may Allah have mercy on him).
And Imam al-Tirmidhi (may Allah have mercy on him) narrated it in al-Shama'il from Ishaq bin Mansur (may Allah have mercy on him).
And Imam al-Nasa'i (may Allah have mercy on him) narrated it from Ishaq bin Ibrahim (may Allah have mercy on him).
And Abu Hatim Ibn Hibban (may Allah have mercy on him) narrated it from Abdullah bin Muhammad (may Allah have mercy on him), from Ishaq bin Ibrahim (may Allah have mercy on him); and all of them from Abd al-Razzaq (may Allah have mercy on him).