A man one day said to 5th Imam, Imam Baqir (AS) “Was the Prophet (PBUH) heir to all the knowledge of the prophets?”
Imam Baqir (AS) replied, “Yes” then he was asked whether he had inherited it. Imam Baqir (AS) said he had.
He was then asked if he could raise the dead to life, restore sight to the blind, and cleanse the leper. He said yes, by the Grace and the Permission of God, the most Exalted. Imam Baqir (AS), therefore, put his hand on the blind eyes of a man sitting next to him and prayed. The next moment the blind man’s eyesight was restored.
Source: en.shafaqna.com