No! But he offered his prayers at that place, and he administered the oath of fealty nowhere except near the tree in (the plain oo Hudaibiya. Ibn Juraij said that he was informed by Abu Zabair who heard Jabir b. Abdullah say: The Prophet ﷺ prayed over the well at Hudaibiya (as a result of which its scanty water rose up and increased so as to be sufficient for the 1400 or 1500 men who had encamped at the place). (Using translation from Muslim 1856d)
أَنَّهُ سَمِعَ جَابِرًا يُسْأَلُ هَلْ بَايَعَ النَّبِيُّ ﷺ بِذِي الْحُلَيْفَةِ؟ قَالَ لَا وَلَكِنْ صَلَّى بِهَا وَلَمْ يُبَايِعْ عِنْدَ الشَّجَرَةِ إِلَّا الشَّجَرَةَ الَّتِي باِلْحُدَيْبِيَةِ وَأَخْبَرَنَا أَنَّهُ سَمِعَ جَابِرًا دَعَا النَّبِيُّ ﷺ عَلَى بِئْرِ الْحُدَيْبِيَةِ