A client of Sa’ad said “Sa’ad found some slaves from the slaves of Medina cutting the trees of Medina.” So, he took away their property and said to their patrons “I heard the Messenger of Allah(ﷺ) prohibiting to cut any tree of Medina”. He said “If anyone cuts any one of them, what is taken from him will belong to the one who seizes him.”
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا ابْنُ أَبِي ذِئْبٍ، عَنْ صَالِحٍ، مَوْلَى التَّوْأَمَةِ عَنْ مَوْلًى، لِسَعْدٍ أَنَّ سَعْدًا، وَجَدَ عَبِيدًا مِنْ عَبِيدِ الْمَدِينَةِ يَقْطَعُونَ مِنْ شَجَرِ الْمَدِينَةِ فَأَخَذَ مَتَاعَهُمْ وَقَالَ - يَعْنِي لِمَوَالِيهِمْ - سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَنْهَى أَنْ يُقْطَعَ مِنْ شَجَرِ الْمَدِينَةِ شَىْءٌ وَقَالَ " مَنْ قَطَعَ مِنْهُ شَيْئًا فَلِمَنْ أَخَذَهُ سَلَبُهُ " .
sunnah.com