If one borrows money by the intention of returning it by someone whose source of income is haram. Here, money used for any purpose will be considered haram? Please guide.

No it wont be considered haram.