Here are the passages in the law of Moses along with Paul’s comment on them in Ephesians:
Exodus 20:12 Honour thy father and thy mother: that thy days may be long upon the land which the LORD thy God giveth thee.
Deuteronomy 5:16 Honor your father and your mother, as the LORD your God commanded you; that your days may be prolonged, and that it may go well with you, in the land which the LORD your God gives you.
Ephesians 6:1-3 Children, obey your parents in the Lord, for this is right. 2 "Honor your father and mother" (this is the first commandment with a promise), 3 "that it may be well with you and that you may live long on the earth."
I hope you have found this helpful.