Ibn 'Umar used to go out to al-Ghabah (jungle), but he neither broke his fast, nor shortened his prayer.
Sunan Abi Dawud Book 14, Hadith 102