Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates that the Messenger of Allah (peace and blessings be upon him) had cupping done while in the state of Ihram.