John 15:14

Ye are my friends, if ye do the things which I command you.

Matthew 12:50

For whosoever shall do the will of my Father who is in heaven, he is my brother, and sister, and mother.

Luke 12:4

And I say unto you my friends, Be not afraid of them that kill the body, and after that have no more that they can do.

2 Chronicles 20:7

Didst not thou, O our God, drive out the inhabitants of this land before thy people Israel, and give it to the seed of Abraham thy friend for ever?

Song of Songs 5:1

I am come into my garden, my sister, my bride: I have gathered my myrrh with my spice; I have eaten my honeycomb with my honey; I have drunk my wine with my milk. Eat, O friends; Drink, yea, drink abundantly, O beloved.

Isaiah 41:8

But thou, Israel, my servant, Jacob whom I have chosen, the seed of Abraham my friend,

John 2:5

His mother saith unto the servants, Whatsoever he saith unto you, do it.

John 13:17

If ye know these things, blessed are ye if ye do them.

John 14:15

If ye love me, ye will keep my commandments.

John 14:21

He that hath my commandments, and keepeth them, he it is that loveth me: and he that loveth me shall be loved of my Father, and I will love him, and will manifest myself unto him.

John 14:28

Ye heard how I said to you, I go away, and I come unto you. If ye loved me, ye would have rejoiced, because I go unto the Father: for the Father is greater than I.

James 2:23

and the scripture was fulfilled which saith, And Abraham believed God, and it was reckoned unto him for righteousness; and he was called the friend of God.

1 John 5:3

For this is the love of God, that we keep his commandments: and his commandments are not grievous.

Treasury of Scripture Knowledge

Summary

Ye are my friends, if ye do whatsoever I command you.

Bible References

If

John 2:5
His mother saith unto the servants, Whatsoever he saith unto you, do it.
John 13:17
If ye know these things, blessed are ye if ye do them.
John 14:21
He that hath my commandments, and keepeth them, he it is that loveth me: and he that loveth me shall be loved of my Father, and I will love him, and will manifest myself unto him.
1 John 5:3
For this is the love of God, that we keep his commandments: and his commandments are not grievous.

General references

Genesis 6:22
Thus did Noah; according to all that God commanded him, so did he.
Exodus 7:6
And Moses and Aaron did so; as Jehovah commanded them, so did they.
Leviticus 18:4
Mine ordinances shall ye do, and my statutes shall ye keep, to walk therein: I am Jehovah your God.
Deuteronomy 11:32
And ye shall observe to do all the statutes and the ordinances which I set before you this day.
Proverbs 17:17
A friend loveth at all times; And a brother is born for adversity.
John 14:15
If ye love me, ye will keep my commandments.

American Standard Version Public Domain