A ceiling is a combustible surface.A Metalbestos type insulated pipe must extend 18" below ceiling or 18"from a combustible wall surface ,while maintaining the 2" clearance.
Those codes are what you need.Be safe.