Usama b. Zaid reported Allah's Apostle (ﷺ) as saying: There can be an element of interest in credit (when the payment is not equal).
Sahih Muslim Book 22, Hadith 128