According to Shāstras, if parents give their daughters to the guy whose ultimate aim is to attain Brahman, they attain Brahmāloka which is the second most difficult attainment after Moksha because it is easy to get Moksha in Brahmalok due to its environment.
Also, husband & wife if devoted to each other are destined to marry in every birth due to concept of Runanbandha until they are devoted to each other.
Now, suppose husband attains Brahman or gets enlightenment, does enlightenment will automatically (if not suddenly, from Brahmāloka) follow to the wife because of inference from the concept of Runanbandha? It seems reasonable because a devoted wife or husband are destined to mingle again & again until devotion last. Wife being devoted to husband won't get any attainment other than Brahman if his husband attains Brahman only as she is supposed to mingle with him only.
So are there any scriptures which says so directly or indirectly?
This question has been dealt in AnugitA (2nd discourse to Arjun by Lord Krishna) like this.
On this, too, O chief of the descendants of Bharata! they relate this ancient story, (in the form of) a dialogue, which occurred, O son of Prithâ! between a husband and wife. A Brâhmana's wife, seeing the Brâhmana her husband, who had gone through all knowledge and experience, seated in seclusion, spoke to him (thus): 'What world, indeed, shall I go to, depending on you as (my) husband, you who live renouncing (all) action, and who are harsh and undiscerning. We have heard that wives attain to the worlds acquired by (their) husbands. What goal, verily, shall I reach, having got you for my husband?' UpagitA - Chapter 5.