Both companies can now complete the deal.
The recent recalls come amid increased FDA scrutiny of medicines produced in India.
US District Judge Beryl Howell in Minneapolis denied Ranbaxy's request, the court filing showed.
The case was earlier heard by a different vacation bench which had on June 10 asked Sharma to substantiate his 'unfounded allegations' that the Indian pharma major was allegedly manufacturing and selling adulterated medicines.
Ranbaxy drugs sold in the United States will be gradually rebranded as Sun Pharma treatments
Pfizer Inc and Ranbaxy Laboratories Ltd on Friday won dismissal of a U.S. antitrust lawsuit accusing them of conspiring to delay sales of generic versions of the best-selling cholesterol drug Lipitor.
All of Ranbaxy's India-based factories are currently banned by the FDA from exporting medicines to the United States, the company's largest market, after the regulator's inspection found violation of its so-called good manufacturing practices.
Sun Pharma open to large acquisitions post Ranbaxy.
FDA had cancelled Ranbaxy's approvals to launch generic Nexium, Valcyte
The Supreme Court on Monday posed some tough questions to a lawyer, asking him to substantiate his "unfounded allegations" in a PIL that Indian pharma major Ranbaxy Laboratories Ltd was allegedly manufacturing and selling adulterated medicines.
Ties between India and the United States have been strained in recent years because of trade policies and patent disputes.
India has capped the prices of 36 drugs, including those used to treat infections and diabetes, in its latest move to make essential medicines more affordable, a senior official of the country's drug pricing authority told Reuters on Friday.
The FDA has stepped up its efforts to ensure drug safety in recent months.
Based on a writ petition filed by some individual investors, the High Court while ordering the status quo on Friday, issued notices to SEBI, BSE, NSE, Sun Pharma, Ranbaxy, Daichii Sankyo and Silver Street Developers.
Ranbaxy Laboratories on Wednesday reported widening of its consolidated net loss to Rs 1,029.72 crore (Rs 10.29 billion) for the third quarter ended December 31, 2014
The court also restrained RHC Holdings from operating its bank accounts except for payment of salaries and statutory dues till March 23, the next date of hearing.
The recall is the latest in a series of problems to hit Ranbaxy, which has had all its India factories stopped from sending drugs and ingredients to the United States.
According to information available on the European Commission website, Ranbaxy Laboratories has been fined euro 10.32 million (over Rs 80 crore).
Sachin Bansal, who had co-founded Flipkart with Binny Bansal in 2007, would exit the company
The 30-share Sensex ended down 604 points at 28,845 and the 50-share Nifty ended down 181 points at 8,757. The Bank Nifty ended down 602 points at 19,146.
As part of the charm offensive, New Delhi has invited global regulators -- including the FDA -- to visit Indian production units to get first-hand evidence of measures taken to ensure the quality of locally manufactured generics.
Ranbaxy, which is 63.5 per cent-owned by Japan's Daiichi Sankyo Co and gets more than 40 per cent of its sales from the United States, did not immediately respond to a request on Wednesday for comment on the FDA observations.
And when an inspector asked about the contents of unlabelled vials in the laboratory glassware washing area, a plant worker dumped them down a sink and said the contents could not be determined, according to a July 18 letter from the US Food and Drug Administration to Wockhardt, which makes sterile injectable drugs and various forms of insulin.
There are just 1,500 drug inspectors responsible for more than 10,000 factories in India