post_grid_loop_top

See the code sample here.

add_action('post_grid_loop_top', 'post_grid_loop_top_20200515', 10);

function post_grid_loop_top_20200515($args){
    $grid_id = $args['grid_id'];
    $post_grid_options = $args['options'];
    ?>
    <div class="">Custom HTML here</div>
    <?php
}

View post on imgur.com