If Allah says, “I don’t punish My Beloved One, but I test him,” it means that even though He loves him, He wants him to be patient as even the most heavy test will come, but be patient on these tests as the last of Allah’s Beautiful Names and Attributes is “as-Saboor,” the Patient. So Allah wants the loved one to be patient when faced with tests and the Prophet ﷺ said, “I am the most afflicted one with tests and problems.“ All his life he didn’t have quiet and peace–leaving Mecca to migrate to Madinah, building a state, fighting the enemies–and he did not have one moment to be resting, but the Prophet ﷺ was happy and he never complained. We complain, day and night we complain, even against the breath we are breathing!
—  Shaykh Hisham Kabbani