Hadith 8:901
Abu Bakr narrated to us, he said: Marwan bin Mu'awiyah narrated to us, from Rabah bin Abi Ma'ruf, from 'Ata, from Ibn Abbas, that he disliked for a man to stand at the door of the mosque when he intends to depart to his family, turning towards the Ka'bah, looking at it and supplicating. And he said: "The Jews do that."
حدثنا أبو بكر قال حدثنا مروان بن معاوية عن رباح بن أبي معروف عن عطاء عن بن عباس أنه كره قيام الرجل على باب المسجد إذا اراد الانصراف إلى أهله منحرفا نحو الكعبة ينظر إليها ويدعو وقال اليهود يفعلون ذلك