Marwan Asfar reported,

I saw Ibn Umar make his camel kneel facing the qiblah, then he sat down and urinated toward it. I asked, "Abu Abdul-Rahman, has this not been forbidden?"He replied, "Yes, but it was only forbidden in open ground. If there is something between you and the qiblah that screens you, there is no harm in it."

Azami 1412

Hasan

عن مروان الأصفر قال

رأيت ابن عمر أناخ راحلته مستقبل القبلة، ثم جلس يبول إليها، فقلت: يا أبا عبد الرحمن! أليس قد نهي عن هذا؟ قال: بلى، إنما نهي عن ذلك في الفضاء، فإذا كان بينك وبين القبلة شيء يسترك فلا بأس.

الأعظمي 1412حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Purification
Section
Permissibility of facing or turning one's back to the qibla when relieving oneself in a building
Numbering
Jami al-Kamil 1412 (2nd edition)
Azami 1412