Dalil

Quran An-Nur 24:52

وَمَن يُطِعِ ٱللَّهَ وَرَسُولَهُۥ وَيَخۡشَ ٱللَّهَ وَيَتَّقۡهِ فَأُوْلَٰٓئِكَ هُمُ ٱلۡفَآئِزُونَ

Translation

And whoever obeys Allāh and His Messenger and fears Allāh and is conscious of Him - it is those who are the attainers.