صحيح البخاري Sahih Bukhari كتاب الصوم The Book of As-Saum (The Fasting).
بَابُ التَّنْكِيلِ لِمَنْ أَكْثَرَ الْوِصَالَ:

(49) Chapter. The punishment for the person who practises Al-Wisal very often.

2 hadith
Hadith 1965
حَدَّثَنَا أَبُو الْيَمَانِ ، أَخْبَرَنَا شُعَيْبٌ ، عَنِ الزُّهْرِيِّ ، قَالَ : حَدَّثَنِي أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ ، أَنَّ أَبَا هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ ، قَالَ : " نَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنِ الْوِصَالِ فِي الصَّوْمِ " ، فَقَالَ لَهُ رَجُلٌ مِنَ الْمُسْلِمِينَ : إِنَّكَ تُوَاصِلُ يَا رَسُولَ اللَّهِ ، قَالَ : وَأَيُّكُمْ مِثْلِي ، إِنِّي أَبِيتُ يُطْعِمُنِي رَبِّي وَيَسْقِينِ ، فَلَمَّا أَبَوْا أَنْ يَنْتَهُوا عَنِ الْوِصَالِ ، وَاصَلَ بِهِمْ يَوْمًا ، ثُمَّ يَوْمًا ، ثُمَّ رَأَوْا الْهِلَالَ ، فَقَالَ : لَوْ تَأَخَّرَ لَزِدْتُكُمْ ، كَالتَّنْكِيلِ لَهُمْ حِينَ أَبَوْا أَنْ يَنْتَهُوا .
Narrated Abu Huraira: Allah's Apostle forbade Al-Wisal in fasting. So, one of the Muslims said to him, "But you practice Al- Wisal. O Allah's Apostle!" The Prophet replied, "Who amongst you is similar to me? I am given food and drink during my sleep by my Lord." So, when the people refused to stop Al-Wisal (fasting continuously), the Prophet fasted day and night continuously along with them for a day and then another day and then they saw the crescent moon (of the month of Shawwal). The Prophet said to them (angrily), "If It (the crescent) had not appeared, I would have made you fast for a longer period." That was as a punishment for them when they refused to stop (practicing Al-Wisal).
Hadith Reference Sahih Bukhari / The Book of As-Saum (The Fasting). / Hadith: 1965
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1966
حَدَّثَنَا يَحْيَى بْنُ مُوسَى ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ ، عَنْ مَعْمَرٍ ، عَنْ هَمَّامٍ ، أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " إِيَّاكُمْ وَالْوِصَالَ " مَرَّتَيْنِ ، قِيلَ : إِنَّكَ تُوَاصِلُ ، قَالَ : إِنِّي أَبِيتُ يُطْعِمُنِي رَبِّي وَيَسْقِينِ ، فَاكْلَفُوا مِنَ الْعَمَلِ مَا تُطِيقُونَ .
Narrated Abu Huraira: The Prophet said twice, "(O you people) Be cautious! Do not practice Al-Wisal." The people said to him, "But you practice Al-Wisal?" The Prophet replied, "My Lord gives me food and drink during my sleep. Do that much of deeds which is within your ability."
Hadith Reference Sahih Bukhari / The Book of As-Saum (The Fasting). / Hadith: 1966
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة