“Make not thy hand fettered to thy neck, nor yet spread it out quite open, lest thou shouldst have to sit down blamed and straitened in means. Verily, thy Lord spreads out provision to whomsoever He will or He doles it out. Verily, He is ever well aware of and sees His servants.” The Chapter of the Night Journey beginning vs 27.
“Give to everyone who asks you, and if anyone takes what belongs to you, do not demand it back.” Luke 6:30.
Even without the fullest context for either quotation, I think it’s fairly clear that the attitudes of both speakers are not the same. Mohammed essentially says, “Give, but not too much,” while Jesus simply says “Give, and don’t demand.” One is self-serving:one is other-serving. There can be no doubt that these two are reading from different scripts.