The present invention provides a fused heterocyclic derivative showing a potent kinase inhibitory activity and use thereof. A compound represented by the formula:
wherein ring A is an optionally substituted pyrrole ring, X is an optionally substituted CH, Y is an optionally substituted CH or nitrogen atom, Z is an optionally substituted divalent hydrocarbon group or optionally substituted divalent heterocyclic group, T is a single bond or an optionally substituted C
1-3
alkylene group, and U is an optionally substituted amido group, an optionally substituted sulfonamido group, an optionally substituted ureido group, an optionally substituted carbamoyl group or an optionally substituted thioureido group, or a salt thereof, and a pharmaceutical agent containing the compound or a prodrug thereof, which is a kinase (VEGFR, VEGFR2, PDGFR, TIE2) inhibitor, an angiogenesis inhibitor, an agent for the prophylaxis or treatment of cancer, an agent for inhibiting growth of cancer or an agent for suppressing metastasis of cancer.