Compare meta_values and return results that are similar

You’ve tried with meta_query?

 $rooms = get_post_meta( $post->ID, 'bedroom', true );

 $meta_query = array(
      array(
           'key' => 'bedroom',
           'value' => $rooms,
           'compare' => '='
      )
 );

WP_Query documentation on custom field parameters

tech