Sahih al-Bukhari 4176
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · The Ghazwa of Al-Hudaibiya
Narrated Abu Jamra:
حَدَّثَنَا مُحَمَّدُ بْنُ حَاتِمِ بْنِ بَزِيعٍ ، حَدَّثَنَا شَاذَانُ ، عَنْ شُعْبَةَ ، عَنْ أَبِي جَمْرَةَ ، قَالَ سَأَلْتُ عَائِذَ بْنَ عَمْرٍو ـ رضى الله عنه ـ وَكَانَ مِنْ أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم مِنْ أَصْحَابِ الشَّجَرَةِ هَلْ يُنْقَضُ الْوِتْرُ قَالَ إِذَا أَوْتَرْتَ مِنْ أَوَّلِهِ، فَلاَ تُوتِرْ مِنْ آخِرِهِ.
I asked Aidh bin `Amr, who was one of the companions of the Prophet (ﷺ) one of those (who gave the allegiance to the Prophet (ﷺ) the Tree: "Can the witr prayer be repeated (in one night)?" He said, "If you have offered it in the first part of the night, you should not repeat it in the last part 'of the night." (See Fath-ul-Bari page 458 Vol 8th).