Assalamu'alaykum Warahmatullahiwabarakatuh Shaykh, had Prophet Muhammad Sallahu'alayhiwasallam prayed anytime any salah in the back of any companion(i.e. companion as prayer imaam). Assalamu'alaykum Warahmatullahiwabarakatuh
All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It was reported that the Prophet prayed behind Abu Bakr and by Abdur-Rahmaan Ibn ‘Awf . Moreover, Imaam Ahmad and Ibn Khuzaymah reported: “Al-Mugheerah Ibn Shu’bah was asked whether anyone of this nation had led the Prophet in prayer other than Abu Bakr, and he replied: “Yes.” He mentioned that the Prophet performed ablution and he wiped over his socks and turban. Then Al-Mugheerah also said: “He [the Prophet] prayed behind Abdur-Rahmaan Ibn ‘Awf and I was with him in one Rak’ah of Fajr, and then me made up the Rak’ah that we had missed.”
In the wording of Ahmad: “Al-Mugheerah Ibn Shu’bah said: “There are two characteristics that I would never ask anyone else about them as I saw the Prophet doing them: the Imaam praying behind a man among the people under his guardianship and I saw the Prophet praying behind Abdur-Rahmaan Ibn ‘Awf one Rak’ah of Fajr [as he had missed one Rak’ah] and I saw the Prophet, sallallaahu ‘alayhi wa sallam, wiping over his socks.”
May Allaah exalt the mention of our Prophet Muhammad and be pleased with the Companions.
Allaah Knows best.
You can search for fatwa through many choices