Numan bin Bashir reported,

The Prophet ﷺ said, "The example of one who is lax regarding the limits set by Allah and one who falls into them is like a group of people who drew lots for places on a ship. Some of them ended up on the lower deck and some on the upper deck. Those on the lower deck had to pass by those on the upper deck whenever they wanted water, and this troubled the ones above. So one of the lower passengers took an axe and began chipping a hole in the bottom of the ship. The others came to him and asked, 'What are you doing?'He replied, 'You have been bothered by me, and I must have water.'If they restrain his hand, they will save him and save themselves, and if they leave him to it, they will destroy him and destroy themselves."

Bukhari 2686

Sahih

حدثنا عمر بن حفص بن غياث حدثنا أبي حدثنا الأعمش قال حدثني الشعبي أنه سمع

النعمان بن بشير رضي الله عنهما يقول

قال النبي ﷺ مثل المدهن في حدود الله والواقع فيها مثل قوم استهموا سفينة فصار بعضهم في أسفلها وصار بعضهم في أعلاها فكان الذي في أسفلها يمرون بالماء على الذين في أعلاها فتأذوا به فأخذ فأسا فجعل ينقر أسفل السفينة فأتوه فقالوا ما لك قال تأذيتم بي ولا بد لي من الماء فإن أخذوا على يديه أنجوه ونجوا أنفسهم وإن تركوه أهلكوه وأهلكوا أنفسهم

البخاري 2686صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Testimonies
Chapter
Drawing lots in difficult matters
Numbering
Darussalam 2686
Bukhari 2686