"By Allah, I do not know what I should do with these Karais (toilets). The Messenger of Allah ﷺ said: 'When any one of you goes to defecate or urinate, let him not face toward the Qiblah, nor turn his back towards it." (Using translation from Nasāʾī 20)
أَنَّهُ سَمِعَ أَبَا أَيُّوبَ الْأَنْصَارِيَّ يَقُولُ وَهُوَ بِمِصْرَ وَاللهِ مَا أَدْرِي كَيْفَ أَصْنَعُ بِهَذِهِ الْكَرَايِيسِ يَعْنِي الْكُنُفَ وَقَدْ قَالَ رَسُولُ اللهِ ﷺ إِذَا ذَهَبَ أَحَدُكُمْ إِلَى الْغَائِطِ أَوِ الْبَوْلِ فَلَا يَسْتَقْبِلِ الْقِبْلَةَ وَلَا يَسْتَدْبِرْهَا