The Prophet ﷺ said: If anyone asks (you) for refuge for the sake of Allah, give him refuge; and if anyone asks you (for something) for the pleasure of Allah, give him. Ubaydullah said: If anyone asks you for the sake of Allah. (Using translation from Abū Dāʾūd 5108)
قَالَ رَسُولُ اللهِ ﷺ مَنِ اسْتَعَاذَ بِاللهِ فَأَعِيذُوهُ وَمَنْ سَأَلَكُمْ بِوَجْهِ اللهِ فَأَعْطُوهُ