Allah's Messenger (ﷺ) bought food grains from a Jew on credit and mortgaged his armor to him.
Sahih al-Bukhari Book 34, Hadith 49