Sahih al-Bukhari 2497
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَا كَانَ يَدًا بِيَدٍ فَخُذُوهُ، وَمَا كَانَ نَسِيئَةً فَذَرُوهُ "
Narrated Sulaiman bin Abu Muslim:
I asked Abu Minhal about money exchange from hand to hand. He said, "I and a partner of mine bought something partly in cash and partly on credit." Al-Bara' bin `Azib passed by us and we asked about it. He replied, "I and my partner Zaid bin Al-Arqam did the same and then went to the Prophet (ﷺ) and asked him about it. He said, 'Take what was from hand to hand and leave what was on credit.' "
Full reference and source
Sahih al-Bukhari 2497 In-book : Book 47, Hadith 15 USC-MSA web (English) : Vol. 3, Book 44, Hadith 677 (deprecated)
View source on Sunnah.com (opens in a new tab)