The following general formula (1) (wherein, Q represents an unsubstituted phenyl group or a phenyl group substituted at one, two or three positions by one fluorine atom, R represents a hydrogen atom or a methyl group, Y1 and Y2 each independently represent a bromine atom, an iodine atom or a trifluoromethyl group.) A composition for controlling a pest inhabiting a building, which comprises at least one amide derivative represented by the formula: A method for controlling pests inhabiting a building, comprising treating a space in the building with an object.下記一般式(1)(式中、Qは無置換のフェニル基または一つのフッ素原子で2位、3位又は4位が置換されたフェニル基を表し、Rは水素原子またはメチル基を表し、Y1およびY2はそれぞれ独立に、臭素原子、ヨウ素原子またはトリフルオロメチル基を表す。)で表されるアミド誘導体の少なくとも1種を有効成分として含有する建物内生息害虫防除用組成物、および該組成物を用いて建物内の空間を処理することを特徴とする、建物内生息害虫防除方法。