Sahih al-Bukhari 5658
Muhammad bin Muthanna narrated to me that Yahya (bin Sa'id Qattan) told us. Hisham (bin Urwah) narrated to us. He said: My father told me. He narrated from Hazrat Aishah (ra) that some people came to the Prophet (saw) during his illness to visit him, and he (saw) led them in Prayer (Salat) sitting, and they began to pray standing. He signalled to them: Sit down. When he had finished the Prayer, he said: “The Imam is there only to be followed. So when he bows (Ruku'), you too bow; when he raises his head, you too raise your heads; if he prays sitting, you too pray sitting.” Abu Abdullah (Imam Bukhari (rh)) said: Humaidi used to say: This hadith is abrogated, for the last Prayer which the Prophet (saw) led, he led it sitting while the people were standing behind him.
AI-translated by Islam-Today
Book 12: If one visited a patient and the time of the Salat became due