This man appears also in the middle of the Gospel, making defense for Christ; for he saith, "Our law judgeth no man before it hear him"; and the Jews in anger replied to him, "Search and look, for out of Galilee ariseth no prophet." Again after the crucifixion he bestowed great care upon the burial of the Lord's body: "There came also," saith the Evangelist, "Nicodemus, which came to the Lord by night, and brought a mixture of myrrh and aloes, about an hundred pound weight." And even now he was disposed towards Christ, but not as he ought, nor with proper sentiments respecting Him, for he was as yet entangled in Jewish infirmity. Wherefore he came by night, because he feared to do so by day. Yet not for this did the merciful God reject or rebuke him, or deprive him of His instruction, but even with much kindness conversed with him and disclosed to him very exalted doctrines enigmatically indeed, but nevertheless He disclosed them. For far more deserving of pardon was he than those who acted thus through wickedness.
Source: Homily on the Gospel of John 24