You can accept it as the sin is on them!

Are we allowed to eat the food and accept gifts from relatives and friends who works in a interest based bank. As I don’t accept things from them as in Quran it says Riba is Haram. But someone shared a link from Islam QA which saying it is allowed to accept things from them. https://islamqa.info/en/126486

Riba |