أَخْبَرَنَا مَالِكٌ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ: أَنَّهُ كَانَ يَحْتَجِمُ وَهُوَ صَائِمٌ، ثُمَّ تَرَكَ ذَلِكَ. أَخْرَجَ الْحَدِيثَيْنِ مِنَ الْجُزْءِ الثَّانِي مِنَ اخْتِلَافِ الْحَدِيثِ، وَالثَّالِثَ مِنْ كِتَابِ الصِّيَامِ
It is narrated from Nafi' (may Allah have mercy on him) that he reports from Ibn Umar (may Allah be pleased with them) that Ibn Umar (may Allah be pleased with them) used to get cupped while fasting, then later he abandoned it.