I posted this before and was told though the mechanics of the meditation are similar, the goal and philosophy of the meditation is different so it couldn't be said that "body scans" are in the suttas. It is interesting how close it comes:
"Furthermore, the monk reflects on this very body from the soles of
the feet on up, from the crown of the head on down, surrounded by skin
and full of various kinds of unclean things: 'In this body there are
head hairs, body hairs, nails, teeth, skin, flesh, tendons, bones,
bone marrow, kidneys, heart, liver, pleura, spleen, lungs, large
intestines, small intestines, gorge, feces, bile, phlegm, pus, blood,
sweat, fat, tears, skin-oil, saliva, mucus, fluid in the joints,
urine.' Just as if a sack with openings at both ends were full of
various kinds of grain — wheat, rice, mung beans, kidney beans, sesame
seeds, husked rice — and a man with good eyesight, pouring it out,
were to reflect, 'This is wheat. This is rice. These are mung beans.
These are kidney beans. These are sesame seeds. This is husked rice';
in the same way, the monk reflects on this very body from the soles of
the feet on up, from the crown of the head on down, surrounded by skin
and full of various kinds of unclean things: 'In this body there are
head hairs, body hairs, nails, teeth, skin, flesh, tendons, bones,
bone marrow, kidneys, heart, liver, pleura, spleen, lungs, large
intestines, small intestines, gorge, feces, bile, phlegm, pus, blood,
sweat, fat, tears, skin-oil, saliva, mucus, fluid in the joints,
urine.' And as he remains thus heedful, ardent, & resolute, any
memories & resolves related to the household life are abandoned, and
with their abandoning his mind gathers & settles inwardly, grows
unified & centered. This is how a monk develops mindfulness immersed
in the body.
"Furthermore, the monk contemplates this very body — however it
stands, however it is disposed — in terms of properties: 'In this body
there is the earth property, the liquid property, the fire property, &
the wind property.' Just as a skilled butcher or his apprentice,
having killed a cow, would sit at a crossroads cutting it up into
pieces, the monk contemplates this very body — however it stands,
however it is disposed — in terms of properties: 'In this body there
is the earth property, the liquid property, the fire property, & the
wind property.' And as he remains thus heedful, ardent, & resolute,
any memories & resolves related to the household life are abandoned,
and with their abandoning his mind gathers & settles inwardly, grows
unified & centered. This is how a monk develops mindfulness immersed
in the body.