Sahih al-Bukhari 4276
Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · Narrated by Ibn `Abbas
Arabic
حَدَّثَنِي مَحْمُودٌ، أَخْبَرَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنِي مَعْمَرٌ، قَالَ أَخْبَرَنِي الزُّهْرِيُّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم خَرَجَ فِي رَمَضَانَ مِنَ الْمَدِينَةِ، وَمَعَهُ عَشَرَةُ آلاَفٍ، وَذَلِكَ عَلَى رَأْسِ ثَمَانِ سِنِينَ وَنِصْفٍ مِنْ مَقْدَمِهِ الْمَدِينَةَ، فَسَارَ هُوَ وَمَنْ مَعَهُ مِنَ الْمُسْلِمِينَ إِلَى مَكَّةَ، يَصُومُ وَيَصُومُونَ حَتَّى بَلَغَ الْكَدِيدَ ـ وَهْوَ مَاءٌ بَيْنَ عُسْفَانَ وَقُدَيْدٍ ـ أَفْطَرَ وَأَفْطَرُوا. قَالَ الزُّهْرِيُّ وَإِنَّمَا يُؤْخَذُ مِنْ أَمْرِ رَسُولِ اللَّهِ صلى الله عليه وسلم الآخِرُ فَالآخِرُ.
English translation
Narrated Ibn `Abbas:The Prophet (ﷺ) left Medina (for Mecca) in the company of ten-thousand (Muslim warriors) in (the month of) Ramadan, and that was eight and a half years after his migration to Medina. He and the Muslims who were with him, proceeded on their way to Mecca. He was fasting and they were fasting, but when they reached a place called Al-Kadid which was a place of water between 'Usfan and Qudaid, he broke his fast and so did they. (Az-Zuhri said, "One should take the last action of Allah's Messenger (ﷺ) and leave his early action (while taking a verdict)
Reference: Sahih al-Bukhari 4276, Book of Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi). English translation by Dr. Muhammad Muhsin Khan.