It is narrated from Imam Baqir (AS) who wrote in a letter to Saad Khair:
Truly, Allah (SWT) protects the servant of God by piety (Taqwa) against whatever is hidden from wisdom, and through piety, removes his/her blindness and ignorance. And through piety Noah (AS) and his companions in the ship survived, and by piety Saleh (AS) and his companions survived lightening [1]. Imam Baqir (AS) also explained about signs of pious people: There are signs for pious people and they are known by those signs; these signs include: truthfulness, trustworthiness, keeping promises, inappropriate mixing with men and women, generosity, good temper, brave and patient, seeking knowledge, seeking things/deeds that take the human being closer to God [2].
[1] Al-Kafi, Vol. 8, Page 52.
[2] Al-Khisal, Sheikh Sadooq (RA), Page 483.
Source: en.shafaqna.com