ʿAbdullah bin ʿUmar used to offer the Maghrib and ʿIsha' prayers together at Jam' (Al-Muzdalifa). But he used to pass by that mountain pass where Messenger of Allah ﷺ went, and he would enter it and answer the call of nature and perform ablution, and would not offer any prayer till he had prayed at Jam.'
أَنَّهُ يَمُرُّ بِالشِّعْبِ الَّذِي أَخَذَهُ رَسُولُ اللَّهِ ﷺ فَيَدْخُلُ فَيَنْتَفِضُ وَيَتَوَضَّأُ وَلاَ يُصَلِّي حَتَّى يُصَلِّيَ بِجَمْعٍ