Any ideas?

i read a post where someone is looking for a book where a man finds a book that makes his thoughts/wishes come true. Bad things happen like he had a thought where he wishes his wife would die. It happens. Anyone got any ideas? It sounds like something I would like reading.