We investigate the resonant contributions in the decays B0(s) → D 0 π + π − , B0 (s) → D 0 K + K − , and B0 → D 0 π 0 η by considering the final state interactions within the chiral unitary approach. The scalar resonances produced dynamically from the final state interactions of these decays are the ones of f 0 (500), f 0 (980), and a 0 (980). In addition, the vector mesons ρ and φ produced in the p-wave are also taken into account. From the invariant mass distributions of B 0 decays, one can see that the contributions of the states f 0 (500) and a 0 (980) are remarkably larger than the one of f 0 (980). However, for the case of B 0 s decays only a clear structure closed to the K + K − threshold appears, which corresponds to the f 0 (980) state and has no signal for the f 0 (500) resonance. The dominant contributions are from the vector meson φ for the decay B0 s → D 0 K + K − , where the results of the K + K − invariant mass distributions are in agreement with the experimental data up to 1.1 GeV. Moreover, the branching fractions and the ratios of branching fractions are also investigated, where some of them are consistent with the experimental measurements, and the branching fraction Br( B0 → D 0 a 0 (980)[a 0 (980) → π 0 η]) = (6.08 ± 0.72) × 10 −5 and the ratio of branching fractions Br( B0 → D 0 f 0 (980))/Br( B0 → D 0 a 0 (980)) = 0.13 ± 0.03 are predicted.