I saw Ibn Umar make his camel kneel down facing the qiblah, then he sat down urinating in its direction. So I said: Abu AbdurRahman, has this not been forbidden? He replied: Why not, that was forbidden only in open country; but when there is something between you and the qiblah that conceals you , then there is no harm.
Reference: Sunan Abi Dawud 11 In-book : Book 1, Hadith 11 English translation : Book 1, Hadith 11
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.