  In this study, we consider an optimal control problem driven by a stochastic
differential system with a stopping time terminal cost functional. We establish
the stochastic maximum principle for this new kind of an optimal control
problem by introducing a discrete terminal system. Finally, we provide an
example to describe the main results of this study.
