Ruling on pointing one’s feet towards the qiblah
Shaykh ‘Abd-Allaah ibn Humayd (may Allaah have mercy on him) was asked about pointing one’s feet in the direction of the qiblah. He replied:
There is nothing to say that this is not allowed, but some of the scholars regarded it as makrooh (disliked) to stretch the feet out towards the Ka’bah if one is close to it; they regarded this as makrooh but not emphatically so. But if there is a mosque somewhere else and there is a Muslim there who points his feet towards the qiblah, there is no harm in that and he is not doing anything forbidden in sha Allaah, as the scholars stated. And Allaah knows best.
See Fataawa al-Shaykh Ibn Humayd, p. 144
Shaykh Ibn ‘Uthaymeen was asked about pointing the feet towards the qiblah whilst sleeping. He said:
There is no blame on a person if he sleeps and his feet are pointing towards the qiblah.
Fataawa al-Shaykh Ibn ‘Uthaymeen, 2/976.