The Prophet ﷺ was cupped by a slave belonging to Banu Bayadah. The Prophet ﷺ paid him his wages and spoke to his master, who then reduced his daily levy. Had it been unlawful earnings, the Prophet ﷺ would not have paid him.
حجم النبي ﷺ عبد لبني بياضة، فأعطاه النبي ﷺ أجره، وكلم سيده، فخفف عنه من ضريبته، ولو كان سحتا لم يعطه النبي ﷺ.
Muslim narrated it in the Book of Musaqah (66:1202) via Abdul-Razzaq, who said, Mamar informed us, from Asim, from Shaybi, from Ibn Abbas, who related it.Bukhari narrated it in the Book of Sales (2103) via Ikrima, from Ibn Abbas, in abbreviated form with the wording, "The Prophet ﷺ was cupped, and he gave payment to the one who cupped him. Had it been unlawful, he would not have given him payment."