Sayyiduna Abu Hurairah (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "If treatment is sought with anything and it is beneficial for the illness, then it is cupping, which benefits against the disease."
Related hadith on this topic