Does refining drain water render it pure?

Q: Nowadays, drain water in some countries is recycled and reused in homes. Can it be considered ritually pure?

A: All Praise is due to Allah Alone and peace and blessings be upon His Messenger, his family and Companions. To commence: The basic rule concerning water is that it is pure. Drain water is Najis (ceremonially impure) due to the human waste mixed with it such as urine and feces. If the water is recycled and purified of the Najasah (ceremonial impurity), so that there is no trace of the smell, taste, or color of Najasah, it becomes ceremonially pure. Otherwise, it is considered Najis if the remains of Najasah still exist.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.