IBNHIBBAN 1421:
from Ibn ʿUmar —
[Machine] He used to say that some people would say, "If you sit for your need, do not face the Qibla (direction of prayer) or the Al-Aqsa Mosque. I climbed on the back of our house and saw the Messenger of Allah ﷺ sitting with his back towards the Qibla for his need."
ابن حبّان ١٤٢١:
عن ابن عمر —
أَنَّهُ كَانَ يَقُولُ إِنَّ نَاسًا يَقُولُونَ إِذَا قَعَدْتَ لِحَاجَتِكَ فَلَا تَسْتَقْبِلِ الْقِبْلَةَ وَلَا بَيْتَ الْمَقْدِسِ لَقَدِ ارْتَقَيْتُ عَلَى ظَهْرِ بَيْتِنَا «فَرَأَيْتُ رَسُولَ اللَّهِ ﷺ عَلَى لَبِنَتَيْنِ مُسْتَقْبِلَ بَيْتَ الْمَقْدِسِ لِحَاجَتِهِ»
hadithunlocked.com