SHAFAQNA – It is narrated that Hazrat Zakaria (AS) asked God about the names of 5 infallibles (Mohammad (PBUH), Ali (AS), Fatima (AS), Hassan (AS) and Hussain (AS)) and requested to be taught those name. Jabrail (AS) descended and taught him those names. Zakaria (AS) repeated those names but felt his mood changed when he said the name of Imam Hussain (AS). Zakaria (AS) asked God: Why is it that when I say the name of Hussain (AS), my tears flow and I feel broken hearted?
Allah (SWT) informed him of the story of Imam Hussain (AS) in Karbala. When Zakaria (AS) heard about the events of Karbala, did not leave or accepted anyone at his praying place for 3 days and wept for Imam Hussain (AS). Zakaria (AS) asked God to give him a son to have the same destiny as Imam Hussain (AS). God gave him Yahya (AS) whose birth (born after 6 months) was like Imam Hussain (AS) and was martyred like Imam Hussain (AS) when he was beheaded 
 Beharul Anwaar, Vol. 44, page 223 and Ehtejaj, Vol. 2, page 272.