Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said: "Caution is of no benefit against destiny, and supplication benefits so long as the decree has not descended. Affliction and supplication meet between the heaven and the earth, and then they keep wrestling with each other until the Day of Resurrection."
Al-Bazzar recorded it; its chain contains a narrator, Ibrahim bin Khuthaym bin Irak, who is matruk (abandoned).
(Allamah Haythami says:) I say: some hadiths of this kind have already passed in the book on destiny.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الأدعية / 17193