(Annoor) 24 : 45
وَاللَّهُ خَلَقَ كُلَّ دَابَّةٍ مِنْ مَاءٍ ۖ فَمِنْهُمْ مَنْ يَمْشِي عَلَىٰ بَطْنِهِ وَمِنْهُمْ مَنْ يَمْشِي عَلَىٰ رِجْلَيْنِ وَمِنْهُمْ مَنْ يَمْشِي عَلَىٰ أَرْبَعٍ ۚ يَخْلُقُ اللَّهُ مَا يَشَاءُ ۚ إِنَّ اللَّهَ عَلَىٰ كُلِّ شَيْءٍ قَدِيرٌ

Lord Allah has created every creature from water, then among them are those that move on their bellies, and among them are those that walk on two legs, and among them are those that walk on four; Allah creates whatever He wishes, indeed Allah is the Capable upon everything.

See explanation 11: 7; 21: 30 and 25: 54.