Sunan Ibn Majah, Book 31, Hadith 50 (Ibn Majah 3487)
It was narrated from Jabir that the Prophet (ﷺ) fell from his horse onto the truck of a palm tree and dislocated his foot. (One of the narrators) Waki’ said:
“Meaning that the Prophet (ﷺ) was cupped because of that for bruising.”