It is narrated from Sayyiduna Abu Bakrah رضي الله عنه that the Noble Prophet صلى الله عليه وسلم led the companions in the Maghrib prayer (as a prayer of fear) with three rak‘ahs, then after finishing the prayer, another group came, so the Prophet صلى الله عليه وسلم led them also in three rak‘ahs. In this way, the Noble Prophet صلى الله عليه وسلم performed six rak‘ahs, and the companions performed three rak‘ahs each.