Non shariah stocks guidance

Topic: What to Do When a Stock Becomes
Non‑ShariahI’d like to start a discussion on how to handle investments that become non‑Shariah compliant after purchase.

Specifically:What steps should we take when a stock’s status changes to non‑Shariah?

How should we deal with dividends or profits earned during that period?

What is the correct process if there’s a loss instead of a gain?How can we properly perform purification (tazkiyah) for such holdings?

Let’s share insights, best practices, and scholarly guidance on managing these transitions responsibly.