Dynamo action by differential rotation in a stably stratified stellar interior