First-principle validation of Fourier's law in \ensuremath{d=1,2,3} classical systems