Stock Non compliant

AOA
I sold a stock FCEL(fuelcell) which was compliant 30 days ago ,recently it became non compliant ,i am Hanafi ,
Whats the verdict on the profit of the shares that i sold do i have to do 5 percent purification or 33 percent which became the companies debt ratio?
I am grateful for an anwer

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
الجواب وباللہ التوفیق

If you sold the shares at a time when the company was Shariah-compliant, then the company becoming non-compliant afterward does not affect the earlier transaction.

As for the basis on which the company was deemed non-compliant and when it became non-compliant, please provide those details so that the matter can be reviewed and a ruling can be given.

اگر آپ نے اس وقت شیئر فروخت کیے تھے جب کمپنی شریعہ کے مطابق (Shariah-compliant) تھی، تو بعد میں کمپنی کے non-compliant ہو جانے کا اثر آپ کے سابقہ معاملے پر نہیں پڑے گا۔

بقیہ وہ غیر شرعی کس اعتبار سے قرار پائے ہیں  اور کب پائے اس کی تفصیل لکھ کر مسئلہ معلوم کرلیں

فقط واللہ اعلم بالصواب