I had a neighbour who used to let his dog out and stand at his front gate waiting for the dog to come home after a poop on someone else's lawn.
I got my shovel, scooped it up and followed the dog home, dropped it at his feet and said " I believe this is yours"
He never spoke to me again but the whole street said "thank you"