Should the Purification be paid on dividends or the price when the share is sold and purchased?

Assalamualaikum warahmatullahi wabarakatuh,

Should the Purification be paid on dividends received or the price when the share is sold and purchased?

Jazak Allah khair!!! May Allah reward you all the highest level of paradise!!!

@Mufti_Billal @Mufti_Faraz_Adam .