Help!!! Motor dies when coming to a stop?

ok so i found out that it will only do it when it gets warm when it has been running for about 15 mins also the car is running rich i can tell by the smell would that have any thing to do with it?

and their is no vacuum leaks