As salam alkyum, if I donate to a program that teach courses to students in Islam. Do I get a countinous reward, for example because I donated someone was able to come for free, if they learn knowledge and they teach others with the knowledge, do I get a reward because I donated ?
You get as far as you intended inshaAllah