Ruling on saying “you don’t deserve this” to one who is sick
Question

                Sometimes when people visit a person who is sick, they say to him, “you don’t deserve this”. Or when they hear that a certain person is sick, they say, “By Allaah, he doesn’t deserve that. We hope that you can tell us whether it is permissible to say this or not?
Praise be to Allah.It is not permissible to
      say this, because it is like objecting to Allaah, may He be exalted. He
      knows best about the situation of His slaves, and He is Most Wise in what
      He decrees for them of health and sickness, richness and poverty, and so
      on. 
What is prescribed is to
      say, “May Allaah grant him good health and heal him,” and similar good
      phrases. 
May Allaah help all the
      Muslims to understand their religion and adhere to it steadfastly, for He
      is the Best to be asked.