"The messenger of Allah said: 'Gold for gold, of equal measure; silver for silver, of equal measure; salt for salt, dates for dates wheat for wheat, barley for barley, like for like. Whoever gives more or takes more has engaged in Riba."' (Sahih) The wording is that of Muhammad Yaqub did not mention - "Wheat for wheat". (Using translation from Nasāʾī 4564)
قَالَ رَسُولُ اللهِ ﷺ «الذَّهَبُ بِالذَّهَبِ تِبْرُهُ وَعَيْنُهُ وَزْنًا بِوَزْنٍ وَالْفِضَّةُ بِالْفِضَّةِ تِبْرُهُ وَعَيْنُهُ وَزْنًا بِوَزْنٍ وَالْمِلْحُ بِالْمِلْحِ وَالتَّمْرُ بِالتَّمْرِ وَالْبُرُّ بِالْبُرِّ وَالشَّعِيرُ بِالشَّعِيرِ كَيْلًا بِكَيْلٍ فَمَنْ زَادَ أَوِ ازْدَادَ فَقَدْ أَرْبَى وَلَا بَأْسَ بِبَيْعِ الشَّعِيرِ بِالْبُرِّ وَالشَّعِيرُ أَكْثَرُهُمَا يَدًا بِيَدٍ»