كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(29)
Chapter: The Ghazwa of Al-Khandaq or Al-Ahzab Battle
(29)
باب غَزْوَةُ الْخَنْدَقِ وَهْىَ الأَحْزَابُ
Sahih al-Bukhari 4107

Narrated Ibn `Umar:

The first day (i.e. Ghazwa) I participated in, was the day of Al-Khandaq (i.e. Trench).

حَدَّثَنِي عَبْدَةُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا عَبْدُ الصَّمَدِ، عَنْ عَبْدِ الرَّحْمَنِ ـ هُوَ ابْنُ عَبْدِ اللَّهِ بْنِ دِينَارٍ ـ عَنْ أَبِيهِ، أَنَّ ابْنَ عُمَرَ ـ رضى الله عنهما ـ قَالَ أَوَّلُ يَوْمٍ شَهِدْتُهُ يَوْمُ الْخَنْدَقِ‏.‏
Reference : Sahih al-Bukhari 4107
In-book reference : Book 64, Hadith 151
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 433
  (deprecated numbering scheme)