It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that when the Prophet (peace and blessings be upon him) set out for the conquest of Makkah, he was fasting, but when he reached the place of Kudayd, he broke his fast.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3460
Hadith Gradingحکم دارالسلام:إسناده صحيح، خ: 1944، م : 1113