Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3683Abū Ṭāhir al-Faqīh > Abū Ḥāmid b. Bilāl > Yaḥyá b. al-Rabīʿ al-Makkī > Sufyān > ʿAmr

[Machine] To be cured from it, he was told to stay for a certain number of days, during which he should only pray while lying down, which he disliked.  

البيهقي:٣٦٨٣أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أنبأ أَبُو حَامِدِ بْنُ بِلَالٍ ثنا يَحْيَى بْنُ الرَّبِيعِ الْمَكِّيُّ ثنا سُفْيَانُ عَنْ عَمْرٍو قَالَ لَمَّا وَقَعَ فِي عَيْنَيِ ابْنِ عَبَّاسٍ الْمَاءُ أَرَادَ

أَنْ يُعَالَجَ مِنْهُ فَقِيلَ لَهُ تَمْكُثُ كَذَا وَكَذَا يَوْمًا لَا تُصَلِّي إِلَّا مُضْطَجِعًا فَكَرِهَهُ