https://russkiypro.ru/pravilnoe-pravopisanie-otkuda-ili-ot-kuda/
Правильное правописание: «откуда» или «от куда»