This small tree has sharp, long thorns. It is not (to my knowledge) a legume (thus not a honey locust. The leaves (not shown) are simple, ovate/obovate.
Added photo of bare branch. Given the thorns, this may be Rhamnaceae. Not convinced of the species, obtusifolia. Perhaps Z. zizyphus jujuba (not convinced about this either).