I asked Aaiz bin Amr , who was among the companions of the Prophet ﷺ and one of the companions of the Tree, "Can the witr prayer be undone?"He replied, "If you have prayed witr at the beginning of the night, do not pray witr again at its end."
سألت عائذ بن عمرو رضي الله عنه- وكان من أصحاب النبي ﷺ من أصحاب الشجرة- هل ينقض الوتر؟ قال: إذا أوترت من أوله فلا توتر من آخره.
Bukhari narrated it in Al-Maghazi (4176) from Muhammad bin Hatim bin Bazi, who said, Shazan narrated to us, from Shubah, from Abu Jamra, who said, and then he mentioned it.