The Prophet ﷺ sent a physician to Ubayy, who cut a vein for him.
حدثنا محمد بن سليمان الأنباري حدثنا أبو معاوية عن الأعمش عن أبي سفيان
بعث النبي ﷺ إلى أبي طبيبا فقطع منه عرقا
Muslim narrated it in the chapter "For every disease there is a cure, and the recommendation of seeking treatment," hadith no. 2207, from the hadith of Abu Muawiya al-Darir with this chain.