We consider a singularly perturbed boundary value problem for a differential equation with a retarded and a deviating argument. By using the method of boundary functions and the sewing method, we find not only a continuous but also a smooth solution of the problem. We prove the existence of a solution with an internal transition layer. A graphical numerical example is presented.