I had a fistula; so I asked the prophet (ﷺ). He said: offer prayer in standing condition…

Sunan Abu Dawud Book 2 Hadith 563

Sunan Abu Dawud #952

Prayer (Kitab Al-Salat) 2:563

‘Imran b. Husain said :

I had a fistula; so I asked the prophet (ﷺ). He said: offer prayer in standing condition; if you are unable to do so, then in sitting condition: if you are then at your side(i.e, in lying condition).

Chapter: The Prayer Of The One Sitting Down

Grade: Sahih (Al-Albani)