Abdullah bin Harith reported,

I was the first to hear the Prophet ﷺ say, "None of you should urinate while facing the qiblah," and I was the first to relate this to the people.

Ibn Majah 317

Sahih

حدثنا محمد بن رمح المصري أنبأنا الليث بن سعد عن يزيد بن أبي حبيب أنه سمع

عبد الله بن الحارث بن جزء الزبيدي يقول

أنا أول من سمع النبي ﷺ يقول لا يبولن أحدكم مستقبل القبلة وأنا أول من حدث الناس بذلك

ابن ماجه 317صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Prohibition of facing the qibla while defecating or urinating
Numbering
Darussalam 317
Ibn Majah 317