'Abdullah bin Mughaffal (May Allah be pleased with him) reported:
The Prophet (ﷺ) said, "Perform two Rak'ah before Maghrib prayer." He (ﷺ) repeated it twice; when repeating it for the third time he added: "He who may so wish."[Al- Bukhari].
App reference: Book 9, Hadith 132
Arabic/English book reference: Book 9, Hadith 1122