The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj)
Dawud :: Book 10 : Hadith 1833
Narrated Anas ibn Malik:
The Apostle of Allah (peace_be_upon_him) had himself cupped on the surface of his foot because of a pain in it while he was in the sacred state (wearing ihram).