The Prophet (ﷺ) bought some foodstuff on credit for a limited period and mortgaged his armor for it.

Sahih al-Bukhari Book 48, Hadith 2