Jami` at-Tirmidhi, Book 1, Hadith 20 (Tirmidhi 20)

Al-Mughirah bin Shu'bah said:

I was with the Prophet on a journey. The Prophet had to relieve himself, so he went far away."