I found this sentence in an article. Is it some proverb? What does this mean? Below is the paragraph where I found this:
Only a waning candle sheds its light around. It is related that Abul Hassan Ali, a jurist and friend of Al-Beruni visited him when he was terminally ill. Al-Beruni requested him to repeat the mathematical problem he was once discussing with him. Thinking that it was not an appropriate occasion to talk about it, the jurist remained silent. Al-Beruni insisted upon having a reply and said: “Is it not better to die with knowledge then to die in ignorance?” Abul Hassan repeated that problem to which Beruni listened intently and grasped it. A few moments later he passed away at the age of 75 in 1048 A.D. and was laid to rest at Ghazna. Thus, he acted upon the saying of the Holy Prophet Muhammad (Peace and blessings be upon him): “Acquire knowledge from the cradle to the grave.”
Note: I have googled but didn't find anything helpful.