It was narrated from Anas bin Malik that the Messenger of Allah (ﷺ) said:
“On the night on which I was taken on the Night Journey (Isra), I saw written at the gate of Paradise: 'Charity brings a tenfold reward and a loan brings an eighteen fold reward.' I said: 'O Jibril! Why is a loan better than charity?' He said: 'Because the beggar asks when he has something, but the one who asks for loan does so only because he is in need.' ”