Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: The Messenger of Allah (peace and blessings be upon him), while in the state of ihram, got cupped on his head because of a headache and because of a sprain, and this place was called Lahy Jamal.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19529