Sunan Abi Dawud, Book 14, Hadith 102 (Abu Dawud 2415)

Nafi' said:

Ibn 'Umar used to go out to al-Ghabah (jungle), but he neither broke his fast, nor shortened his prayer.