What to do with my capital gains? Does it need purification ? Is it Halal for me to use?

Wa alaykum salaam,

No, what the borrower does will not have a direct impact on your capital gain. Therefore, you don’t have to factor that into any purification.

Allah knows best