Al-Nu’man ibn Bashir reported: The Messenger of Allah, peace and blessings be upon him, said, “Make between yourself and the unlawful a barrier of what is lawful. Whoever does so will clear himself in regard to his honor and his religion. A shepherd who grazes near the side of a sanctum will nearly fall into it. Verily, every king has a sanctum and the sanctum of Allah is his prohibitions.”
Source: Ṣaḥīḥ Ibn Ḥibbān 5685
Grade: Sahih (authentic) according to Al-Albani
عن النعمان بن بشير قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ اجْعَلُوا بَيْنَكُمْ وَبَيْنَ الْحَرَامِ سُتْرَةً مِنَ الْحَلالِ مَنْ فَعَلَ ذَلِكَ اسْتَبْرَأَ لِعِرْضِهِ وَدِينِهِ وَمَنْ أَرْتَعَ فِيهِ كَانَ كَالْمُرْتِعِ إِلَى جَنْبِ الْحِمَى يُوشِكُ أَنْ يَقَعَ فِيهِ وَإِنَّ لِكُلِّ مَلِكٍ حِمًى وَإِنَّ حِمَى اللَّهِ فِي الأَرْضِ مَحَارِمُهُ
5685 صحيح ابن حبان
152 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع