Abu al-Mukhariq said that Sayyiduna Ubadah bin Samit (may Allah be pleased with him) mentioned that the Noble Prophet (peace and blessings be upon him) forbade taking two dirhams in exchange for one dirham. A man said, "If it is done in cash (immediate exchange), I do not see any harm in it." Upon this, Sayyiduna Ubadah (may Allah be pleased with him) said, "I say that the Messenger of Allah (peace and blessings be upon him) forbade it, and you say that you see no harm in it? By Allah, I will never sit with you under one roof."
Related hadith on this topic