It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Leave what puts you in doubt and suspicion, and adopt what (is certain and) does not put you in doubt." Abu Bakr bin Abi Shaybah recorded it.
It is narrated from Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) that a man came to the Prophet (peace and blessings be upon him) and said: Advise me, and keep it brief. So he (peace and blessings be upon him) said: "When you stand for your prayer, pray as though it were your farewell prayer; do not utter a word for which you will have to apologise tomorrow (on the Day of Resurrection or before people); and become completely hopeless of (and independent of) what (wealth and possessions) people have." Imam Ahmad bin Mani' recorded this hadith.
It is narrated from Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him) that a man came to the Prophet (peace and blessings be upon him) and said: "O Messenger of Allah (peace and blessings be upon him), give me a counsel (advice)." He (peace and blessings be upon him) said: "Adopt hopelessness (that is, independence) towards what (wealth and possessions) people have, and beware of greed, for it is poverty present here and now; perform your prayer as though you were bidding farewell (to the world); and beware of everything for which you will later have to apologise." This report has a supporting narration (shahid) from the hadith of Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him), which Imam al-Hakim recorded and declared sahih (authentic), and which Imam al-Bayhaqi also recorded; and Imam al-Tabarani also narrated it from the narration of Sayyiduna Ibn Umar (may Allah be pleased with them both).