Suffering or pain or evil has an ancient history for humans, and human life throughout human life is filled with pain and suffering. Although the existence of suffering is a clear issue for every human being, the question of why suffering occurs and how to deal with it has always needed to be explored. These questions occupy the human mind: Why should I suffer? And what approach should I have towards suffering? And can suffering also have positive functions or is it all negative and dark? And in the meantime, thinkers of various sciences have tried to find answers to face these questions and overcome this challenge. In facing this issue, Muslim sages also proposed a new approach based on which suffering not only does not have a negative and dark aspect; but it will have educational functions for the stranger and wanderer in the material world and can be human-building. In this research, which was compiled using a library method, we examine the educational functions of suffering from the perspective of Muslim scholars with a problem-oriented perspective.