Here it is in the Phena Suttta:
“Form is like a lump of foam,
Feeling like a water bubble;
Perception is like a mirage,
Volitions like a plantain trunk,
And consciousness like an illusion,
So explained the Kinsman of the Sun."
“However one may ponder it
And carefully investigate it,
It appears but hollow and void
When one views it carefully."