I used to sell camels at al-Baqi for dinars and take dirhams for them, and sell for dirhams and take dinars for them. I would take these for these and give these for these. I went to the Messenger of Allah ﷺ who was in the house of Hafsah. I said: Messenger of Allah , take it easy, I shall ask you (a question): I sell camels at al-Baqi'. I sell (them) for dinars and take dirhams and I sell for dirhams and take dinars. I take these for these, and give these for these. The Messenger of Allah ﷺ then said: There is no harm in taking them at the current rate so long as you do not separate leaving something to be settled. (Using translation from Abū Dāʾūd 3354)
كُنْتُ أَبِيعُ الْإِبِلَ فِي الْبَقِيعِ فَأَبِيعُ بِالدَّنَانِيرِ وَآخُذُ الدَّرَاهِمَ وَأَبِيعُ بِالدَّرَاهِمِ وَآخُذُ الدَّنَانِيرَ فَوَقَعَ فِي نَفْسِي مِنْ ذَلِكَ فَأَتَيْتُ رَسُولَ اللهِ ﷺ وَهُوَ فِي بَيْتِ حَفْصَةَ أَوْ قَالَ حِينَ خَرَجَ مِنْ بَيْتِ حَفْصَةَ فَقُلْتُ يَا رَسُولَ اللهِ رُوَيْدَكَ أَسْأَلُكَ إِنِّي أَبِيعُ الْإِبِلَ بِالْبَقِيعِ فَأَبِيعُ بِالدَّنَانِيرِ وَآخُذُ الدَّرَاهِمَ وَأَبِيعُ بِالدَّرَاهِمِ وَآخُذُ الدَّنَانِيرَ فَقَالَ لَا بَأْسَ أَنْ تَأْخُذَهَا بِسِعْرِ يَوْمِهَا مَا لَمْ تَفَرَّقَا وَبَيْنَكُمَا شَيْءٌ وَبِهَذَا الْمَعْنَى