Her remarks came on Saturday, while inaugurating the 20-storey residential complex for Supreme Court judges at Kakrail in Dhaka.
Stressing coordination among the three branches of the state -- the judiciary, the executive and the legislative, the prime minister said, "They should function to complement each other. Nobody should show off power.”
"No-one is less powerful than the other. We must not fight over who we should or should not respect or obey. If we end up fighting with each other, the state will not function properly."
Addressing the ceremony, Chief Justice Surendra Kumar Sinha said a certain quarter is out there to create a chasm between the judiciary and the executive, which sends a wrong signal to people.
Chief Justice Sinha, on at least two previous occasions, went on to say a conflict exists between the judiciary and the executive. He had also claimed that the prime minister was being misinformed.
Reiterating those statements, Sinha said on Saturday that the chief justice was kept out of the loop while the government took some important decisions for the judiciary.
"The decisions have been taken by presenting utterly wrong information and by hiding the truth from the head of the government. There would have been no misunderstanding if the chief justice had been consulted before making the decisions," said Sinha.
In response, Hasina advised the chief justice to speak with the president, if he has anything to say over the appointment of Supreme Court judges.
“The chief justice has raised some issues. The president appoints the prime minister and the chief justice. I have no authority on this."
The prime minister said any conflict between the judiciary and the executive may hurt the judiciary's image and will not benefit people.
She stressed the need for the judiciary, the executive and the legislative branches to put public interests first.
In her address as the chief guest, Hasina said she finds it rather surprising when the top court annuls a law passed by lawmakers in parliament.
"A long process is followed in passing a law in the House. It doesn’t happen suddenly. A law is made for the sake of public interest. When two people (in the judiciary) cancel a law, all efforts go in vain," she said.
Chief Justice Sinha, who addressed the audience in the presence of the prime minister, focused on a balance between the three branches of the state.
"There are situations when relations between the three branches may go cold. If it is seen in a positive light it will help create the rule of law and benefit the people," he said.
Sinha urged the prime minister to treat the judiciary in a friendly manner.
Amid Islamist hardliners’ demand for removing the statue of Lady Justice from the Supreme Court premises, Hasina has recently said she too dislikes it and will speak to the chief justice about it.
Lady Justice personifies the moral force in judicial systems, but hardliners say the figure, a variation on the Greek goddess Themis, reflects idolatry.
The blindfolded statue holding the familiar sword and scales of justice in her hands was erected in December 2016.