So far as I know, the ditransitive verb "to ask" takes two accusatives in German (fragen), and the verb "to give" takes one dative and one accusative in many languages. Is there a language in which the verb "to ask" can be followed by a dative case (assuming that the language has a distinct dative case)?
In Russian, [по]просить, 'to ask', can be followed by the Dative case object, then the meaning is 'to ask for somebody', like it is often used in prayers to saints when you ask a saint that she ask God to give you something, e.g. "Попроси мне и моим близким здоровья", 'Ask for health for me and my family'. Here "мне" 'for me' and "моим близким" 'for my family' are both in Dative, and "здоровья" 'for health' is in Genitive.
In French, the recipient of demander ('ask') is dative:
(1) Je lui demande de répondre à cette question. 1sg 3.DAT ask of respond to this question I ask him to respond to this question.
In Late Archaic Chinese, 問 wen ('ask') can subcategorise for a recipient, which is also dative.
(2) 孔子 與 之 坐 而 問 焉 Kongzi yu zhi zuo er wen yan Kongzi COM 3.ACC sit CONJ ask 3.DAT Confucius sat with him and asked him.
In both cases, the verb can also take an accusative object meaning what is being asked. In addition, the dative case only appears when the recipient is a pronoun; otherwise a prepositional phrase appears, respectively à in French and yu in Late Archaic Chinese.