The correct option is D BaCO3
Barium carbonate is thermally the most stable. On moving down the group, the electropositive character of alkaline earth metals increases. Due to this, their thermal stability also increases. The smaller the positive ion, the higher the charge density, and the greater effect it will have on the carbonate ion. As the positive ions get larger down the group, their affect on the carbonate ions near them decreases. More heat must be supplied for the carbon dioxide to leave the metal oxide. In other words, the carbonates become more thermally stable down the group. Hence, BaCO3 is the most stable.