Imam Shafi Rahmatullahi Allayhi mentions

All humans are dead except those who have knowledge;
and all those who have knowledge are asleep,
except those who do good deeds;
and those who do good deeds are decieved ,
except those who are sincere;
and those who are sincere are always in a state of worry.[1]



[1] Imam Shafi Rahmatullahi Allayhi