Numan bin Bashir reported,

The Messenger of Allah ﷺ said, "The example of the one who upholds the limits set by Allah and the one who is lax with them is like a group of people who drew lots for places on a ship at sea. Some of them ended up on the upper deck and some on the lower deck. Those on the lower deck would have to climb up to draw water and would spill it on those above them. So those on the upper deck said, 'We will not let you come up, you are bothering us.' Those on the lower deck said, 'Then we will bore a hole in our part of the ship to get water.' If those above seize their hands and stop them, they will all be saved, but if they leave them to it, they will all drown together."

Tirmidhi 2173

Sahih

حدثنا أحمد بن منيع حدثنا أبو معاوية حدثنا الأعمش عن الشعبي

عن النعمان بن بشير قال

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

الترمذي 2173صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tribulations
Chapter
From it
Numbering
Darussalam 2173
Tirmidhi 2173