Shariah Screening - Interest on loan to subsidiary

Assalam u alaikum,

I have a question regarding screening of stocks for Shariah compliance. If a parent company gives loan to its subsidiary and charges interest on that loan, the interest earned will be shown on its separate financial statements but not on the consolidated statements.

Should this interest be included in the non-compliant income calculation when screening the stock or not.

Thank you in advance for your guidance.

Kindly provide guidance in this regard. Thank you