[Machine] I had hemorrhoids, so I asked the Messenger of Allah ﷺ , and he said, "Pray standing. If you cannot, then sitting. If you cannot, then lying on your side." Abu Al-Hasan informed us, Isma'il reported to us from Abbas ibn Muhammad, who reported from Ali ibn Al-Hasan ibn Shaqiq, who reported from Ibrahim ibn Tahman, who reported from Husayn al-Mualim, who reported from Ibn Buraydah, who reported from Imran ibn Husayn, who reported from the Prophet ﷺ something similar to it.
كَانَتْ بِي بَوَاسِيرُ فَسَأَلْتُ رَسُولَ اللهِ ﷺ فَقَالَ صَلِّ قَائِمًا فَإِنْ لَمْ تَسْتَطِعْ فَقَاعِدًا فَإِنْ لَمْ تَسْتَطِعْ فَعَلَى جَنْبٍ 3660 وَأَخْبَرَنَا أَبُو الْحَسَنِ أنبأ إِسْمَاعِيلُ ثنا عَبَّاسُ بْنُ مُحَمَّدٍ ثنا عَلِيُّ بْنُ الْحَسَنِ بْنِ شَقِيقٍ ثنا إِبْرَاهِيمُ بْنُ طَهْمَانَ عَنْ حُسَيْنٍ الْمُعَلِّمِ عَنِ ابْنِ بُرَيْدَةَ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ عَنِ النَّبِيِّ ﷺ نَحْوَهُ