Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1113cMuḥammad b. Rāfiʿ > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī Bihadhā al-Isnād

The Messenger of Allah ﷺ marched on Mecca on the morning of 14th of Ramadan (lit. when thirteen nights had passed).  

مسلم:١١١٣cحَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ بِهَذَا الإِسْنَادِ قَالَ

الزُّهْرِيُّ وَكَانَ الْفِطْرُ آخِرَ الأَمْرَيْنِ وَإِنَّمَا يُؤْخَذُ مِنْ أَمْرِ رَسُولِ اللَّهِ ﷺ بِالآخِرِ فَالآخِرِ قَالَ الزُّهْرِيُّ فَصَبَّحَ رَسُولُ اللَّهِ ﷺ مَكَّةَ لِثَلاَثَ عَشْرَةَ لَيْلَةً خَلَتْ مِنْ رَمَضَانَ