Arabic hadith text
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُ كَانَ يَقُولُ لاَ يَحْتَجِمُ الْمُحْرِمُ إِلاَّ مِمَّا لاَ بُدَّ لَهُ مِنْهُ ‏.‏ قَالَ مَالِكٌ لاَ يَحْتَجِمُ الْمُحْرِمُ إِلاَّ مِنْ ضَرُورَةٍ ‏.‏
Translation

Yahya related to me from Malik, from Nafi, that Abdullah ibn Umarused to say, "Someone in ihram should not be cupped, except when thereis no other alternative."

Malik said, "Someone who is inihram should not be cupped except when it is necessary."