Hadith 8:719
Abu Bakr narrated to us, he said: Abu Khalid narrated to us, from Hajjaj, from Ata, who said: When you have prayed, then exit from whichever of the doors you wish, meaning towards al-Safa.
حدثنا أبو بكر قال حدثنا أبو خالد عن حجاج عن عطاء قال إذا صليت فاخرج من أي الأبواب شئت يعني إلى الصفا