The Prophet ﷺ said, "An unlawful act does not render the lawful unlawful."
حدثنا يحيى بن معلى بن منصور حدثنا إسحق بن محمد الفروي حدثنا عبد الله بن عمر عن نافع
أن النبي ﷺ قال لا يحرم الحرام الحلال
No references are available.
[Its chain of transmission is daif]. Daraqutni: 3/268, and Bayhaqi: 7/168 narrated it from the hadith of Farwi as such. The majority graded Farwi as daif, and Bukhari narrated three hadiths from him, which appear to be among what he took from his book before he lost his eyesight. As for Umari, his status has already been discussed. H: 1299, 366