Everything that happens to us is a test from Allah (swt), and the people who are tried the most are the prophets, then the like, then the like, meaning that after the prophets, those with the most faith are put through great trial, then believers with a degree less of faith, then less, etc.