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]. (ES)
App reference (ES): Book 9, Hadith 133 (ES)
Arabic/English book reference (ES): Book 9, Hadith 1123 (ES)