صحيح البخاري Sahih Bukhari كتاب الإجارة The Book of Hiring
بَابُ إِذَا اسْتَأْجَرَ أَرْضًا فَمَاتَ أَحَدُهُمَا:

(22) Chapter. If somebody rents land and he or the owner of the land dies (will the contract be cancelled)?

2 hadith
Hadith 2285
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ ، حَدَّثَنَا جُوَيْرِيَةُ بْنُ أَسْمَاءَ ، عَنْ نَافِعٍ ، عَنْ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُ ، قَالَ : أَعْطَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَيْبَرَ الْيَهُودَ ، أَنْ يَعْمَلُوهَا وَيَزْرَعُوهَا ، وَلَهُمْ شَطْرُ مَا يَخْرُجُ مِنْهَا ، وَأَنَّ ابْنَ عُمَرَ حَدَّثَهُ ، أَنَّ الْمَزَارِعَ كَانَتْ تُكْرَى عَلَى شَيْءٍ سَمَّاهُ نَافِعٌ لَا أَحْفَظُهُ ،
Narrated `Abdullah bin `Umar: "Allah's Apostle gave the land of Khaibar to the Jews to work on and cultivate and take half of its yield. Ibn `Umar added, "The land used to be rented for a certain portion (of its yield)." Nafi` mentioned the amount of the portion but I forgot it.
Hadith Reference Sahih Bukhari / The Book of Hiring / Hadith: 2285
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 2286
وَأَنَّ رَافِعَ بْنَ خَدِيجٍ حَدَّثَ ، أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " نَهَى عَنْ كِرَاءِ الْمَزَارِعِ " ، وَقَالَ عُبَيْدُ اللَّهِ : عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ ، حَتَّى أَجْلَاهُمْ عُمَرُ .
Rafi` bin Khadij said, "The Prophet forbade renting farms." Narrated 'Ubaidullah Nafi` said: Ibn `Umar said: (The contract of Khaibar continued) till `Umar evacuated the Jews (from Khaibar).
Hadith Reference Sahih Bukhari / The Book of Hiring / Hadith: 2286
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة