The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
Ṣaḥīḥ Muslim 6672
إِنَّ شَجَرَةً كَانَتْ تُؤْذِي الْمُسْلِمِينَ فَجَاءَ رَجُلٌ فَقَطَعَهَا فَدَخَلَ الْجَنَّةَ
inna shajaratan kānat tuʾdhī al-muslimīna fajāʾa rajulun faqaṭaʿahā fadakhala al-jannaha
Transliteration generated from the Arabic vowel marks
The full narration
Abu Huraira reported Allah's Messenger (ﷺ) as saying that there was a tree which caused inconvenience to the Muslims; a person came there and cut that (tree) (and thus entered ) Paradise
Source
Ṣaḥīḥ Muslim · 6672
Ṣaḥīḥ