In this paper, we find an exact black hole solution for the Einstein gravity in the presence of Ayón–Beato–García nonlinear electrodynamics and a cloud of strings. The resulting black hole solution is singular, and the solution becomes nonsingular when gravity is coupled with Ayón–Beato–García nonlinear electrodynamics only. This solution interpolates between Ayón–Beato–García black hole, Letelier black hole and Schwarzschild black hole in the absence of cloud of strings parameter, magnetic monopole charge and both of them, respectively. We also discuss the thermal properties of this black hole and find that the solution follows the modified first law of black hole thermodynamics. Furthermore, we estimate the solution’s black hole shadow and quasinormal modes.