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.
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنِ اسْتَعَاذَ بِاللَّهِ فَأَعِيذُوهُ وَمَنْ سَأَلَكُمْ بِوَجْهِ اللَّهِ فَأَعْطُوهُ قَالَ عُبَيْدُ اللَّهِ مَنْ سَأَلَكُمْ بِاللَّهِ