I need to ask few questions which help me out to undersand many things Insha Allah Scenario: If a person is a software developer and come to know that piracy is haram and then suddenly he use the pirated software(Windows) to download opensource software(Linux). Questions: 1-What is the Islamic ruling on the money he earns from the software development using Linux as the source of downloading the opensource software is Unlawful that is pirated software (windows)? 2-The knowledge he gain which will be helpful for him in the Lawful earning of money from the unlawful source(Pirated Windows and different software)? 3-Does he need to quit the whole profession as he learnt every thing from the unlawful source(pirated softwares) but the knowledge helps him to earn lawful money after using the legal softwares 4-Does he need to charity all money when he don't have understanding of Islam and he unknowingly use the pirated softwares for his profession? 5- can he purchase legal things from the unlawful money and later charity the unlawful money from the lawful money
I hope some one will help me out Thanks Regards Muhammad Harris