Ibn Abi Al-Dunya narrated the following, based on a chain of citations. NEbuchadnezzar captured two lions and threw them into a pit. He then brought Daniel and threw him at them; yet they did not pounce at him; rather, he remained as Allah wished. When then he desired food and drink, Allah revealed to Jeremiah, who was in Sham (Palestine/Syria): "Prepare food and drink for Daniel." He said: "0 Lord I am in Jerusalem while Daniel is in Babylon (Iraq)." Allah revealed to him: "Do what I have commanded you to do, and I shall send you one who will carry you and what you have prepared." Jeremiah did so and Allah sent him something that would carry him until he arrived at the brink of the pit.
Then Daniel asked: "Who is this?" He answered: "I am Jeremiah." He asked: "What brought you?" He answered: "Your Lord sent me to you." He said: "And so my Lord has remembered me?" He said: "Yes." Daniel said: "Praise be to Allah Who has never forgotten me! And Praise be to Allah Who never forgets those who appeal to Him! And Praise be to Him Who compensates good with good, rewards patience with safety, dispels harm after distress, assures us when we are overwhelmed, and is our hope when skill fails us."