Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) narrates: In the times before you there was a man who was in his kingdom. He reflected and realised that this would be cut off from him, and that this kingdom had kept him occupied (that is, heedless) away from the worship of his Lord. So he made up his mind and one night slipped out of his palace, and then reached another realm. He came to the seashore and began working there as a labourer making bricks. He would eat and give the surplus money in charity. He remained in this state continuously until news of his worship and virtue reached the king of that place. The king of that place sent a message summoning him, but he refused. The king sent a message again, and he refused again, saying: 'What business do I have with the king?' The king himself rode out to him. When the man saw the king, he took to flight. When the king saw this, he too galloped his horse after him, but the king could not reach him, so he called out loudly to him: 'O servant of Allah! You will come to no harm from me.' So the man stopped. The king came to him and asked: 'Who are you, may Allah Almighty have mercy on you?' He said: 'I am so-and-so, son of so-and-so, who was the king of such-and-such a land. I reflected on my situation and realised that what I possessed would be taken away, and that this thing (that is, the kingdom) had kept me occupied away from the worship of my Lord. So I left it (that is, the kingdom) and came here so that I might keep worshipping my Lord.' The king said: 'You are not more in need of what you have done than I am.' Then the king got down from his mount, let it go and followed the man. Then the two of them kept worshipping Allah Almighty, and the two of them prayed to Allah Almighty that death would come to them both together. The narrator says: So both of them passed away. Sayyiduna Abdullah (may Allah be pleased with him) says: If I were at the small hill (Rumaylah) of Egypt, I would show you the graves of those two people, which matched the description that the Prophet (peace and blessings be upon him) gave to us.
Ahmad recorded it, and Abu Ya'la recorded something similar; its chain contains a narrator, al-Mas'udi, who had suffered confusion (ikhtilat).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17641
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«اخرجه ابو يعلى فى المسند (5383) اخرجه احمد فى المسند (4312) ، أخرجه مسند أحمد برقم: 4300، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 7251»