We report the discovery of an eclipsing binary -- PTF1 J072456$+$125301-- composed of a subdwarf B (sdB) star ($g=17.2^m$) with a faint companion. Subdwarf B stars are core helium-burning stars, which can be found on the extreme horizontal branch. About half of them reside in close binary systems, but few are known to be eclipsing, for which fundamental stellar parameters can be derived. ewline We conducted an analysis of photometric data and spectra from the Palomar 60 and the 200 Hale telescope respectively. A quantitative spectral analysis found an effective temperature of $T_{text{eff}}=33900pm350$,K, log g = $5.74pm0.08$ and log($n_{text{He}}/n_{text{H}}) = -2.02 pm0.07$, typical for an sdB star. The companion does not contribute to the optical light of the system, except through a distinct reflection effect. From the light curve an orbital period of 0.09980(25),d and a system inclination of $83.56pm0.30,^{circ}$ were derived. The radial velocity curve yielded an orbital semi-amplitude of $K_1=95.8pm 8.1,text{km s$^{-1}$}$. The mass for the M-type dwarf companion is $0.155pm0.020,M_{odot}$. PTF1,J072456$+$125301 has similar atmospheric parameters to those of pulsating sdB stars (V346 Hya stars). Therefore it could be a high-priority object for asteroseismology, if pulsations were detected such as in the enigmatic case of NY Vir.