Hadithcore
Sahih al-Bukhari, 4107
sahih

Narrated Ibn `Umar:

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

حَدَّثَنِي عَبْدَةُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا عَبْدُ الصَّمَدِ، عَنْ عَبْدِ الرَّحْمَنِ ـ هُوَ ابْنُ عَبْدِ اللَّهِ بْنِ دِينَارٍ ـ عَنْ أَبِيهِ، أَنَّ ابْنَ عُمَرَ ـ رضى الله عنهما ـ قَالَ أَوَّلُ يَوْمٍ شَهِدْتُهُ يَوْمُ الْخَنْدَقِ‏.‏

References2 variants
In-Book Reference
Book 64, Hadith 151
USC-MSA web (English) reference
Vol. 5, Book 59, Hadith 433 (deprecated numbering scheme)