Hello Marc Ilunga! As with all batteries, you should not continue using them if they are swelling, ruptured, overheating, or starting to smoke. This can indicate that there is a severe problem with the battery and that it is damaged. You should not continue using the battery in your MacBook Pro that started smoking. I would highly recommend taking all of the batteries out of your MacBook Pro and instead using it only with the included power adapter until you can get a set of replacement batteries.
These are a great set of brand new batteries that will work with your machine: https://www.ebay.com/itm/352908229403?_t...
Not only will these batteries replace your old set in your MacBook Pro, but they will also end up increasing your battery life as they are brand new. Make sure to follow this iFixit guide so that you install and calibrate the batteries correctly: MacBook Pro 15英寸 视网膜显示屏 2014年年中 电池更换
Know that when you use your MacBook Pro without its internal batteries, it will throttle its performance to protect its internal components. This is why it is best to replace your batteries as soon as possible. I hope this has been of help to you and will solve your problem.