The people used to go out (from Mecca after Hajj) by all sides. The Prophet ﷺ said: No one should leave (Mecca) until he performs the last circumambulation of the House (the Ka'bah).
كَانَ النَّاسُ يَنْصَرِفُونَ فِي كُلِّ وَجْهٍ فَقَالَ النَّبِيُّ ﷺ لاَ يَنْفِرَنَّ أَحَدٌ حَتَّى يَكُونَ آخِرُ عَهْدِهِ الطَّوَافَ بِالْبَيْتِ