Can You Combine Prayers when Sick?
Question

There is a person who is sick with stomach cancer, and an opening has been left in his body at the stomach level for fluids and waste products to come out. He is asking whether it is permissible for him to join prayers.
Praise be to Allah.It is permissible for a sick person to join prayers, so he may join Dhuhr and `Asr, and Maghrib and `Isha’, at the time of the earlier or later prayer, depending on what is easiest for him. Difficulty caused by sickness is one of the excuses which make it permissible to join prayers. 
The Prophet (peace and blessings of Allah be upon him) granted a concession to the woman who suffered from Istihadah (non-menstrual bleeding), and he allowed her to join prayers. (Narrated by Abu Dawud, 287 and At-Tirmidhi, 128; classed as sound by Al-Albani in Sahih At-Tirmidhi)
“Istihadah is a kind of sickness, and Imam Ahmad quoted as evidence for it being permissible for a sick person to join prayers the fact that sickness is worse than travel. He was treated with cupping after sunset, then he ate supper then he joined Maghrib and `Isha’ prayers .” (Kashshaf Al-Qina`, 2/5) 
It should be noted that the sick person for whom it is permissible to join prayers should offer each prayer in full without shortening it, because shortening the prayers is only permitted for the traveller. What some people think, that if a person joins the prayers at home because of sickness he is also allowed to shorten them, is not correct. 
Shaykh Al-Islam Ibn Taymiyah (may Allah have mercy on him) said: “The reason for shortening prayers is travel only, and it is not permitted when one is not travelling. As for joining prayers when one has an excuse or a need, if he needs to, he may join them when travelling short or long distances , and he may join them when it is raining and the like , or when he is sick and the like, or for other reasons. The aim behind this is to spare the Ummah from hardship.” (Majmu` Al-Fatawa, 22/293)  
We ask Allah to heal the sick Muslims and to bless them with patience and contentment, and compensate them with good. 
And Allah knows best.