It is narrated from Sayyiduna Muhammad bin Sahl (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "When one of you prays towards something, let him come close to it; then Satan will not be able to spoil his prayer."
(b) The Shaykh (may Allah have mercy on him) says that Dawud bin Qays mentioned this report from Nafi' bin Jubayr as mursal.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3477