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: "Each one of you should ask his Lord alone for all of his needs, even to the point that if the strap of his sandal breaks, he should ask Him for that too."
Imam al-Tirmidhi (may Allah have mercy on him) narrated it through Abu Dawud al-Sijistani (may Allah have mercy on him) from Qatan (may Allah have mercy on him).
He also narrated it from Salih bin Abdullah (may Allah have mercy on him), from Ja'far (may Allah have mercy on him), from Thabit (may Allah have mercy on him), as mursal.
I (Imam Diya' al-Din al-Maqdisi (may Allah have mercy on him)) say: Ali bin al-Madini (may Allah have mercy on him) mentioned it among the munkar narrations of Ja'far bin Sulayman (may Allah have mercy on him).
I say: I do not know of anyone who narrated it as marfu' (attributed to the Prophet (peace and blessings be upon him)) other than Qatan bin Nusayr (may Allah have mercy on him), and Allah knows best.
Related hadith on this topic