Riyad as-SalihinChapter 8Hadith 443
Full Sharh — Riyad as-Salihin 443
وعن عبد الله بن مغفل، رضي الله عنه عن النبي صلى الله عليه وسلم قال: "صلوا قبل المغرب" قال في الثالثة: "لمن شاء" ((رواه البخاري)).
English Translation
'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.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
443