Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10946Abū Ḥāzim al-Ḥāfiẓ > Abū al-Faḍl b. Khumayrawayh > Aḥmad b. Najdah > Saʿīd b. Manṣūr > Hushaym > Khālid > Ibn Sīrīn

[Machine] He did not consider it a problem to use loopholes if it served his known purpose.  

البيهقي:١٠٩٤٦وَأَخْبَرَنَا أَبُو حَازِمٍ الْحَافِظُ أنا أَبُو الْفَضْلِ بْنُ خُمَيْرَوَيْهِ ثنا أَحْمَدُ بْنُ نَجْدَةَ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا هُشَيْمٌ أنا خَالِدٌ عَنِ ابْنِ سِيرِينَ

أَنَّهُ كَانَ لَا يَرَى بِالسَّفْتَجَاتِ بَأْسًا إِذَا كَانَ عَلَى الْوَجْهِ الْمَعْرُوفِ