Rank by ALLAH

When Allah has previously decreed for a servant a rank which he has not attained by his action, He afflicts him in his body, or his wealth or his children then He makes him patient upon that until He makes him reach the rank which has already been decreed for him by Allah.
— The Prophet salallahu ‘alayhi wa salam. [recorded in the Sunnan of Abee Dawud, 3090, classified: Sahih].

Rank by ALLAH