Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) was in a caravan of the Companions of the Prophet (peace and blessings be upon him) when a man passed by them. He asked them some questions and they answered him. Then he reached Sayyiduna Mu'adh (may Allah be pleased with him), who had his head resting on his saddle and was talking to himself. He asked: "What did you ask them?" He said: "I asked them such-and-such, and they gave this answer." Then Sayyiduna Mu'adh (may Allah be pleased with him) said: "There are two things which, if you adopt them, you will have gathered all the good they told you; and if you abandon them, you will be deprived of the best of what they said. (They are:) If you begin your striving with your share of this world, your share of the Hereafter will slip away from you, and it is very likely that you will not attain from either of them what you seek. But if you give precedence to your share of the Hereafter, it will bring you to your worldly share as well and will organise all your affairs in the best way; then this world (subservient to you) will turn wherever you turn."
Ishaq bin Rahwayh recorded it as mawquf (a Companion's statement), and its narrators are thiqat (trustworthy).