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