[Machine] The Messenger of Allah ﷺ arrived in Medina while they were borrowing money for two or three years to pay back in a known timeframe. The Messenger of Allah ﷺ said, "Borrow, but with a known quantity, to be repaid within a known period." This is the narration of Abu Nu'aim and Al-Firiyabi, similar to it except that it mentions a known quantity and a known weight, to be repaid within a known period.
قَدِمَ رَسُولُ اللهِ ﷺ الْمَدِينَةَ وَهُمْ يُسْلِفُونَ فِي الثِّمَارِ السَّنَتَيْنِ وَالثَّلَاثَ فَقَالَ رَسُولُ اللهِ ﷺ أَسْلِفُوا فِي الثِّمَارِ فِي كَيْلٍ مَعْلُومٍ إِلَى أَجَلٍ مَعْلُومٍ لَفْظُ حَدِيثِ أَبِي نُعَيْمٍ وَحَدِيثُ الْفِرْيَابِيِّ مِثْلُهُ إِلَّا أَنَّهُ قَالَ فِي كَيْلٍ مَعْلُومٍ وَوَزْنٍ مَعْلُومٍ إِلَى أَجَلٍ مَعْلُومٍ