السَّلَامُ عَلَيْكُمْ أستاذ As you mentioned in al Waraqaat is that the Hanabila render an Ibada on stolen land nullified. And Ibn Taymiyyah if it is the right of Allah swt. So what if someone bought his house with Riba will his prayer in there be invalid in both opinions?

Ustadh AbdulAziz al-Haqqan
No. Imam Ibn Baz was asked precisely whether it takes the ruling of usurped land, and he answered that a place built with unlawful wealth is prayed in and that its ruling is not the ruling of usurped land, and that the sin of a loan attaches to the borrower himself and not to the house.