كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(35)
Chapter: The Ghazwa of Al-Hudaibiya
(35)
باب غَزْوَةِ الْحُدَيْبِيَةِ
Sahih al-Bukhari 4168

Narrated Iyas bin Salama bin Al-Akwa`:

My father who was amongst those who had given the Pledge of allegiance to the Prophet (ﷺ) beneath the Tree, said to me, "We used to offer the Jumua prayer with the Prophet (ﷺ) and then depart at a time when the walls had no shade for us to take shelter in."

حَدَّثَنَا يَحْيَى بْنُ يَعْلَى الْمُحَارِبِيُّ، قَالَ حَدَّثَنِي أَبِي، حَدَّثَنَا إِيَاسُ بْنُ سَلَمَةَ بْنِ الأَكْوَعِ، قَالَ حَدَّثَنِي ـ أَبِي وَكَانَ، مِنْ أَصْحَابِ الشَّجَرَةِ ـ قَالَ كُنَّا نُصَلِّي مَعَ النَّبِيِّ صلى الله عليه وسلم الْجُمُعَةَ ثُمَّ نَنْصَرِفُ، وَلَيْسَ لِلْحِيطَانِ ظِلٌّ نَسْتَظِلُّ فِيهِ‏.‏
Reference : Sahih al-Bukhari 4168
In-book reference : Book 64, Hadith 210
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 486
  (deprecated numbering scheme)