Using Interest to pay interest

Assalamualaikum,

I know that any type interest dealings is totally haram but in the unfortunate case that you end up with interest, can we use it to pay interest on a mortgage for example?

Wasalam

May Allah bless you.
If you have received interest from a bank, let’s say on your saving account with them, and at the same time you have to pay them interest on your mortgage or credit card which has also been issued by them, then it will be fine to use the interest received to pay the interest amount due.
However, you cannot use the interest received from let’s say bank A to pay the interest due to bank X.

And Allah knows best!

Jazakallah for the reply.

Barakallahu feek for your help to the Ummah!