The Messenger of Allah (ﷺ) said: When one of you places in front of him so me. thing such as the back of a saddle, he should pray without caring who passes on the other side of it.
We used to say prayer and the animals moved in front of us. We mentioned it to the Messenger of Allah (ﷺ) and he said: If anything equal to the back of a saddle is in front of you, then what walks in front, no harm would come to him. Ibn Numair said: No harm would come whosoever walks in front.
I and Allah’s Messenger (ﷺ) happened to pass by people near the date-palm trees. He (the Holy Prophet) said: What are these people doing? They said: They are grafting, i. e. they combine the male with the female (tree) and thus they yield more fruit. Thereupon Allah’s Messenger (ﷺ) said: I do not find it to be of any use. The people were informed about it and they abandoned this practice. Allah’s Messenger (ﷺ) (was later) on informed (that the yield had dwindled), whereupon he said: If there is any use of it, then they should do it, for it was just a personal opinion of mine, and do not go after my personal opinion; but when I say to you anything on behalf of Allah, then do accept it, for I do not attribute lie to Allah, the Exalted and Glorious.