AlaHazrat Imam Ahmad Raza Khan رضي الله عنه was asked: Can one take photographs of the Awliya and pious individuals and keep them for the sake of barakah?
Answer: “The photos Sayyidunā Khalīlullāh álayhis salâm, Sayyidunā Ismayil Zabīhullāh álayhis salâm and Sayyidāh Bībī Maryam rađiyAllāhu ánha were painted inside the blessed Ka’abah. They were regarded as sacred, but Sayyidunā RasūlAllâh śallAllāhu álayhi wa âlihi wa sahbihī wa sallam personally erased them with his śallAllāhu álayhi wa âlihi wa sahbihī wa sallam blessed hands.”
What we can learn from this:
Those who draw pictures or capture photos of the Awliya and pious people, this itself is a sin by itself, as this is forbidden to do in regards to any living being.
As for then framing and displaying these forbidden images on the walls of ones house is even greater in sin, not only does this cause the Angels to leave one’s house, this was also the way of the Kafirs prior to Islam and still remains their way.
RasūlAllâh śallAllāhu álayhi wa âlihi wa sahbihī wa sallam himself erased these forbidden images, if there was any Barakah or blessiings in this act then he śallAllāhu álayhi wa âlihi wa sahbihī wa sallam would not have done so, this makes evident that this practice is devoid of Barakah and is actually sinful; a path to idolatry.