Thanks, AlpheccaStars. But then what could possibly be the logical reason for being quite rarely used as it is difficult to locate its usage even with Google?
'It was said.." is much more common than "it was asked" simply because people very frequently want to quote an anonymous source (e.g folk wisdom, rumor).
It was said that he cheated on his wife. (rumor)
It was said that if you took megadoses of Vitamin C, you would not get a cold.
The situation is much rarer for asking. Typically the object is known
Indeed, I am more interested in the rare use of a dummy it, like when referring to a questionnaire:
It was asked the amount of money the debtor owed. This is not natural. Instead, we would write: It was asked if the debtor owed any money, and if so, how much. It was then asked the type of insurance they had.