Disclosed is a compound useful as an active ingredient for a pharmaceutical composition for treating neurogenic pain.Extensive studies have been made on compounds having an inhibitory activity on FAAH. As a result, it is found that an azole compound substituted by an N-(pyridin-3- yl)oxycarbonyl-piperidin-4-yl group and a phenyl group or a pharmaceutically acceptable salt thereof has an excellent inhibitory activity on FAAH.The compound has an excellent inhibitory activity on FAAH, and it is confirmed that the compound has an antiallodynic effect in a rat neurogenic pain model. Therefore, the compound is useful as a prophylactic and/or therapeutic agent for neurogenic pain.