Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates that when the Prophet Muhammad (peace and blessings be upon him) arrived in Madinah, the people there used to sell fruits on credit for two or three years. So the Messenger of Allah (peace and blessings be upon him) said: "Sell fruits on credit (salam) by specifying the measure and the period."