It is narrated from Sayyiduna al-Muttalib bin Abi Wada'ah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to pray facing the corner, near the Siqayah (the water-supply station), and men and women would keep passing in front of him.
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17819