It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that he said: "In the blessed time of the Messenger of Allah (peace and blessings be upon him), prices rose, so the people said: O Messenger of Allah! Fix prices for us. At this the Messenger of Allah (peace and blessings be upon him) said: 'Indeed Allah is the One who constricts, the One who expands, the One who provides and the One who fixes prices; and I hope that when I meet Allah, the Mighty and Majestic, none of you will be demanding from me redress for any wrong concerning his life or wealth.'"
And this same narration is also found in the narration of Qatadah (may Allah have mercy on him) from Sayyiduna Anas (may Allah be pleased with him).
Imam Ahmad (may Allah have mercy on him) narrated it from Surayj and Yunus bin Muhammad, they from Hammad bin Salamah, and he through Qatadah and Thabit (may Allah have mercy on them both).
Related hadith on this topic