Should I pay my "purification-needed" amount when I receive dividends? Or wait until I sell my shares?

Salam alaikum wa rahmatullahi wa barakatuh,

Should I pay my “purification-needed” amount when I receive dividends? Or wait until I sell my shares and purify the accumulated amount?

Jazak Allah khair!!!

Wasalam

May Allah bless you.

When you receive dividends.

And Allah knows best!

Jazak Allah khair!!!

Assalamu Alaikum,

Is it necessary to purify the wealth from the investment account where the haram money is accumulating, or is it okay to give the same amount of money away from another account or from cash?

Sometimes withdrawing from the investment account could be more of a headache due to the steps involved, or could even have tax consequences in the case of a retirement account

JazakAllah khair

Wasalan

May Allah bless you.
My opinion is that it can be given from any account or cash which is in your ownership. I assume this would also be the opinion of @Mufti_Faraz_Adam.
This is similar to purifying haram wealth from your pension fund immediately, whilst not having access to it until retirement.

And Allah knows best!