Free Pascal does not have TPLs, and comes with all sources. RTL, packages, compiler, IDE everything.
If you are talking about ancient Turbo Pascal that had TPLs, it depends on the edition. The more expensive and some educational ones came with sources for the runtime library.
I'm not sure it is still sold though.