Sunan Ibn Majah, Book 7, Hadith 1751 (In-Book)

It was narrated from Abu Qilabah that when Shaddad bin Aws was walking with the Messenger of Allah in Al-Baqi’, he passed by a man who was being cupped, after eighteen days of the month (of Ramadan) had passed. The Messenger of Allah said: “The cupper and the one for whom cupping is done both break their fast.”

حَدَّثَنَا أَحْمَدُ بْنُ يُوسُفَ السُّلَمِيُّ، قَالَ حَدَّثَنَا عُبَيْدُ اللَّهِ، قَالَ أَنْبَأَنَا شَيْبَانُ، عَنْ يَحْيَى، عَنْ أَبِي قِلاَبَةَ، أَنَّهُ أَخْبَرَهُ أَنَّ شَدَّادَ بْنَ أَوْسٍ بَيْنَمَا هُوَ يَمْشِي مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ بِالْبَقِيعِ فَمَرَّ عَلَى رَجُلٍ يَحْتَجِمُ بَعْدَ مَا مَضَى مِنَ الشَّهْرِ ثَمَانِي عَشْرَةَ لَيْلَةً فَقَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ أَفْطَرَ الْحَاجِمُ وَالْمَحْجُومُ ‏" ‏ ‏.‏

sunnah.com