You can find this hadith in the following books:
– Al Ihtijaj, v 1, p 374
– Majma al Bayan, v 9, p 449
and many more.
These narations all say that whoever guides to a good deed will get it's reward and the reward of anyone who does that deed till the day of judgment. and whoever guides to a bad (evil) deed will get it's punishment and the punishment of anyone who does it till the day of judgment.