The Fame
The sage Atri and his wife Anasuya lived in the forest in perfect harmony. Anasuya was renowned for her pativrata - her absolute commitment to her husband's welfare - and for the tapas she had performed over decades.
Her fame reached the heavens.
Saraswati, Lakshmi, and Parvati - the consorts of the Trinity - heard the stories and were curious. Some accounts say they were jealous; others say they were simply wondering if such virtue was real. They sent their husbands to test her.
The Test
Brahma, Vishnu, and Shiva arrived at Atri's ashrama disguised as brahmin guests.
The rule of hospitality in the forest ashrama was absolute. Anasuya came to serve them.
The three gods made an extraordinary demand: she must serve them food - but without any clothing.
This was impossible to fulfill without violating dharma. It was designed to be impossible.
The Power
Anasuya closed her eyes and thought of her husband. She invoked the power of her tapas and her absolute devotion.
She thought: if my devotion to Atri is true and complete, let these guests be transformed.
She opened her eyes.
Three infants lay on the ground where the three gods had stood.
She picked them up, fed them, and rocked them.
The Resolution
Atri returned. He recognized his guests. He laughed, performed worship, and asked what they needed to return to their true forms.
The gods restored themselves. They blessed Anasuya and asked what boon she wished.
She asked for the three of them - the Trinity - to be born as her son.
The child Dattatreya was born with the qualities of all three: Brahma's wisdom, Vishnu's compassion, Shiva's renunciation. He became one of the most revered figures in the Hindu tradition.