John 15:14

Ye are my friends if ye practise whatever I command you.

Matthew 12:50

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

Luke 12:4

But I say to you, my friends, Fear not those who kill the body and after this have no more that they can do.

2 Chronicles 20:7

Hast not thou, our God, dispossessed the inhabitants of this land before thy people Israel, and given it for ever to the seed of Abraham, thy friend?

Song of Songs 5:1

I am come into my garden, my sister, my spouse; 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, beloved ones!

Isaiah 41:8

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

John 2:5

His mother says to the servants, Whatever he may say to you, do.

John 13:17

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

John 14:15

If ye love me, keep my commandments.

John 14:21

He that has my commandments and keeps them, he it is that loves me; but he that loves me shall be loved by my Father, and I will love him and will manifest myself to him.

John 14:28

Ye have heard that I have said unto you, I go away and I am coming to you. If ye loved me ye would rejoice that I go to the Father, for my Father is greater than I.

James 2:23

And the scripture was fulfilled which says, Abraham believed God, and it was reckoned to him as righteousness, and he was called 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 says to the servants, Whatever he may say to you, do.
John 13:17
If ye know these things, blessed are ye if ye do them.
John 14:21
He that has my commandments and keeps them, he it is that loves me; but he that loves me shall be loved by my Father, and I will love him and will manifest myself to 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
And Noah did it; according to all that God had commanded him, so did he.
Exodus 7:6
And Moses and Aaron did as Jehovah had commanded them: so did they.
Leviticus 18:4
Mine ordinances shall ye do and my statutes shall ye observe to walk therein: I am Jehovah your God.
Deuteronomy 11:32
And ye shall take heed to do all the statutes and ordinances which I set before you this day.
Proverbs 17:17
The friend loveth at all times, and a brother is born for adversity.
John 14:15
If ye love me, keep my commandments.