It is narrated from Sayyiduna Anas (may Allah be pleased with him) that in the blessed time of the Messenger of Allah (peace and blessings be upon him) prices rose in Madinah (there was inflation), so the people said: "O Messenger of Allah! Prices have risen, so fix prices for us." Then the Messenger of Allah (peace and blessings be upon him) said: "Indeed Allah is the One who fixes prices, the One who constricts (provision), the One who expands it and the Provider; and I certainly hope that when I meet Allah Almighty, none of you will be demanding from me redress for any wrong in a matter of blood or wealth."
These are the words of the narration of Imam Ahmad bin Hanbal (may Allah have mercy on him), whereas in the narration of Imam Ibn Abi Shaybah (may Allah have mercy on him) there is no mention of "in Madinah," nor is this saying of the people present: "so fix prices for us"; rather, in his version the words are: "Indeed Allah is the One who fixes prices, the One who constricts, the One who expands and the One who provides, and I hope."
Imam Abu Dawud (may Allah have mercy on him) narrated this hadith in the Book of Sales from Uthman bin Abi Shaybah, he from Affan, he from Hammad.
And Imam al-Tirmidhi (may Allah have mercy on him) also narrated it in the same chapter from Muhammad bin Bashshar, he from Hajjaj bin Minhal, he from Hammad, he from (Thabit,) Qatadah and Humayd, and he said: "This hadith is hasan sahih."
Also Imam Ibn Majah (may Allah have mercy on him) narrated it in the Book of Trade from Muhammad bin al-Muthanna, he from Hajjaj, he from Hammad, and he from them (all three).
And Imam Abu Hatim Ibn Hibban (may Allah have mercy on him) narrated it from al-Hasan bin Sufyan, he from Hudbah bin Khalid, he from Hammad bin Salamah, he from Thabit, Qatadah and Humayd, and they from Sayyiduna Anas (may Allah be pleased with him).