[Machine] There is nothing wrong with renting, it is similar to buying. Umar ibn al-Khattab purchased a house from Safwan ibn Umayyah for four thousand dirhams.
لَا بَأْسَ بِهِ الْكِرَاءُ مِثْلُ الشِّرَاءِ قَدِ اشْتَرَى عُمَرُ بْنُ الْخَطَّابِ ؓ مِنْ صَفْوَانَ بْنِ أُمَيَّةَ دَارًا بِأَرْبَعَةِ آلَافِ دِرْهَمٍ