Jeremiah
Jeremiah 40:5BSB·traditional attribution

But before Jeremiah turned to go, Nebuzaradan added, “Return to Gedaliah son of Ahikam, the son of Shaphan, whom the king of Babylon has appointed over the cities of Judah, and stay with him among the people, or go anywhere else that seems right.” Then the captain of the guard gave him a ration and a gift and released him.

John Calvin Reformed @genevareformer

Jeremiah goes on with the same discourse, that Nebuzar-adan dealt bountifully with him, and permitted him to go wherever he wished. We hence conclude that Nebuchadnezzar was fully convinced of the honesty and uprightness of Jeremiah. For he knew how he was regarded among his own people, and that he might rouse great disturbances, except he was upright and quiet.

Matthew Henry Presbyterian @wholebiblehenry

The title of this part of the book, which begins the chapter, seems misapplied (The word which came to Jeremiah), for here is nothing of prophecy in this chapter, but it is to be referred to Jer 42:7, where we have a message that God sent by Jeremiah to the captains and the people that remained.

Commenting on Jeremiah 40:1-6

John Gill Reformed Baptist @doctorgill

Now while he was not yet gone back, he said, go back also to Gedaliah,.... These words, by different versions, are made difficult to be understood, both, whose words they are, and of whom they are spoken. Jarchi makes them to be words of God, and the sense this, "and by all this he (Jeremiah) had no mind to return; and God said to him...