Jami` at-Tirmidhi #372
The Book on Salat (Prayer) 2:224
This Hadith has been related from Ibrahim bin Tahman with this chain. Except that he said:
"From Imran bin Husain who said: 'I asked Allah's Messenger (S) about Salat for a sick person. He said: "He performs Salat standing, if he is not able then sitting, if he is not able then on his side."