If you are "user X" and "user X" is friend with "user B"...
and
If you go on a profile of "user A"....
and
"User B" sent friend request to "user A" and is not yet approved by "user A"...
Widget of mutual friends show user B as mutual friend. But User B is not yet friend with user A.