It was narrated from Anas bin Malik that the Messenger of Allah ﷺ said: "The people of Hell will be made to weep and they will weep until they run out of tears. Then they will weep blood until something like trenches appear on their faces, and if ships were placed in them they would float".
The Prophet Muhammad (peace be upon him) taught us through this hadith that Allah is Just and He does not punish anyone without reason or cause. He also teaches us the importance of following His commands so that we can avoid such punishments in the hereafter. We should strive to live our lives according to His teachings so that we can attain salvation on the Day of Judgment.