اِلَّا ابْتِغَاۤءَ وَجْهِ رَبِّهِ الْاَعْلٰىۚ ( الليل: ٢٠ )
Illab tighaaa'a wajhi rabbihil a 'laa (al-Layl 92:20)
But only seeking the face [i.e., acceptance] of his Lord, Most High. (Al-Layl  : 20)
1 Mufti Taqi Usmani
but (he gave his wealth in charity) only to seek the Countenance of his Lord, the Most High.