(38) باب وُجُوبِ امْتِثَالِ مَا قَالَهُ شَرْعًا دُونَ مَا ذَكَرَهُ صلى الله عليه وسلم مِنْ مَعَايِشِ الدُّنْيَا
Anas reported that Allah's Messenger (ﷺ) happened to pass by the people who had been busy in grafting the trees. Thereupon he said:
If you were not to do it, it might be good for you. (So they abandoned this practice) and there was a decline in the yield. He (the Holy Prophet) happened to pass by them (and said): What has gone wrong with your trees? They said: You said so and so. Thereupon he said: You have better knowledge (of a technical skill) in the affairs of the world.
Reference: Sahih Muslim 2363
In-book reference: Book 43, Hadith 186
USC-MSA web (English) reference(deprecated numbering scheme): Book 30, Hadith 5832