Anas (May Allah be pleased with him) reported:
I saw the principal Companions of Messenger of Allah (ﷺ) rushing to the pillars (of the mosque) to perform two Rak'ah prayers behind them before the Maghrib prayer.[Al-Bukhari].
App reference: Book 9, Hadith 133
Arabic/English book reference: Book 9, Hadith 1123