Shaykh Tameem narrates some statements from ʿArifbillah Mawlānā Shah Ḥakīm Muḥammad Akhtar Sahib:
“It is extremely important that there be a site where sin and the remedy to sin is dealt with and explained. It is this obstacle which prevents a person from obtaining the love and friendship of Allah Ta’ala.
If one prays no tahajjud, makes no nafl ibadāt whatsoever, but performs all of his farā’id, wajibāt, and sunnan-e-mu`akkadah; and along with this he does not indulge in a single act of disobedience, then he will definitely be a friend of Allah.
However, if one does a hundred thousand dhikrs and overloads himself with nafl ibadaat and tahajjud, but at the same time, casts lustful glances at unlawful women and men, and views pornographic sites and pictures, then he will never become a friend of Allah. In fact someone like this cannot even dream of attaining friendship (wilāyat) with Allah. He will always remain deprived and will be wondering (foolishly) why he has not attained Allah’s love: “Maybe I need to make more ibādat?”
To attain His friendship, one needs to abstain from sin, as Allah Ta’ala himself says: “Lo! The friends of Allah, they have no fear, nor shall they grieve. They are those who have believed and they fear Him [by abstaining from sins]…” This is from Surah Yunus.