(Athwalaq) 65 : 7
لِيُنْفِقْ ذُو سَعَةٍ مِنْ سَعَتِهِ ۖ وَمَنْ قُدِرَ عَلَيْهِ رِزْقُهُ فَلْيُنْفِقْ مِمَّا آتَاهُ اللَّهُ ۚ لَا يُكَلِّفُ اللَّهُ نَفْسًا إِلَّا مَا آتَاهَا ۚ سَيَجْعَلُ اللَّهُ بَعْدَ عُسْرٍ يُسْرًا
Let the rich may give according to his ability, and the one for whom his sustenance is limited, he may spend from whatever Allah has provided to him, and Allah doesn’t command to any soul to spend except with whatever Allah has given to it, and Allah will make easiness after the difficulty.
See explanation 2: 286; and 4: 6, 130.